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 / 9869
9868  |  9870
Subject: 
Re: LPub mask generation
Newsgroups: 
lugnet.cad.dev
Date: 
Fri, 17 Sep 2004 13:15:07 GMT
Viewed: 
1402 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.

This project seems pretty old, but you've set me on the right track.

PNG provides compression like JPG and no loss of image quality like BMP.  Plus
POV-Ray supports alpha channel with PNG.

These three combined set me off on the task of switching LPub over to PNG and
rendering with alpha channel enabled.  This solves issues with transparent parts
and backdrop images both part list images, BOMs, and assembly images.

Kevin



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
    

Custom Search

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