Subject:
|
Re: LPub mask generation
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Mon, 20 Sep 2004 03:31:06 GMT
|
Viewed:
|
1703 times
|
| |
| |
In lugnet.cad.dev, Travis Cobbs wrote:
> In lugnet.cad.dev, Kevin L. Clague wrote:
> > LPub is written in Borland C++ Builder, which is the C++ version of Delphi. The
> > programing language is different, but the libraries are the same.
> >
> > I'd like Alpha channel, instead of binary bitmap, because it might provide some
> > help with transparent parts and backdrop images.
> >
> > I'll give it a whirl.
>
> If you're interested, LDView has two C++ classes that together allow you to
> write a PNG via libpng. They have the advantage of being much easier to use
> that libpng itself. Take a look in the LDView source at TCImage.{h,cpp} and
> TCPngImageFormat.{h,cpp}. They might even compile without modification; they
> definitely compile in Linux and Visual Studio.
>
> LDView source can be downloaded from here:
>
> http://home.san.rr.com/tcobbs/LDView/Downloads.html
>
> --Travis
Hi Travis,
I've downloaded LDview, and gotten libpng and zlib built under C++ Builder.
What classes do you have for reading and writing PNG files based on libpng.
I'd like to give them a look.
Thanks,
Kevin
|
|
Message has 1 Reply: | | Re: LPub mask generation
|
| (...) Both classes are in the TCFoundation directory: TCImage and TCPngImageFormat. To use them directly, you'll also need TCObject and TCAutoreleasePool. However, the only thing they use out of there that I know of is my reference counting stuff, (...) (20 years ago, 20-Sep-04, to lugnet.cad.dev, FTX)
|
Message is in Reply To:
| | Re: LPub mask generation
|
| (...) If you're interested, LDView has two C++ classes that together allow you to write a PNG via libpng. They have the advantage of being much easier to use that libpng itself. Take a look in the LDView source at TCImage.{h,cpp} and (...) (20 years ago, 16-Sep-04, to lugnet.cad.dev)
|
21 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|