To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 9866
9865  |  9867
Subject: 
Re: LPub mask generation
Newsgroups: 
lugnet.cad.dev
Date: 
Thu, 16 Sep 2004 20:49:40 GMT
Viewed: 
1569 times
  
In lugnet.cad.dev, Anders Isaksson wrote:
Kevin L. Clague wrote:
LPub does not know how to deal with PNG yet.


LPub is written in Delphi, if I'm not misremembering? Have you looked at
http://pngdelphi.sourceforge.net/?

I can't say I understand all of the code at a quick glance, but it looks
like all you have to do is setting the Alpha channel to a suitable value for
every pixel, and that's it.

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.

Thanks!

Kevin



Message has 1 Reply:
  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)

Message is in Reply To:
  Re: LPub mask generation
 
(...) LPub is written in Delphi, if I'm not misremembering? Have you looked at (URL) can't say I understand all of the code at a quick glance, but it looks like all you have to do is setting the Alpha channel to a suitable value for every pixel, 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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR