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 / 9865
9864  |  9866
Subject: 
Re: LPub mask generation
Newsgroups: 
lugnet.cad.dev
Date: 
Thu, 16 Sep 2004 15:44:21 GMT
Viewed: 
1756 times
  
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.

--
Anders Isaksson, Sweden
BlockCAD:  http://w1.161.telia.com/~u16122508/proglego.htm
Gallery:   http://w1.161.telia.com/~u16122508/gallery/index.htm



Message has 4 Replies:
  Re: LPub mask generation
 
(...) 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 (...) (20 years ago, 16-Sep-04, to lugnet.cad.dev)
  Re: LPub mask generation
 
(...) I just upgraded to Borland C++ Builder 6, and there is a good PNG library for it. I'll use that and convert LPub over to use PNG (instead of BMP and JPG?). Alpha channel will be nice, allowing for semi-transparency. Kevin (20 years ago, 16-Sep-04, to lugnet.cad.dev)
  Re: LPub mask generation
 
(...) 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 (...) (20 years ago, 17-Sep-04, to lugnet.cad.dev)
  Re: LPub mask generation
 
(...) Hi Anders, I have not been able to gain access to the source. Do you have any suggestions on how to do it? Thanks, Kevin (20 years ago, 20-Sep-04, to lugnet.cad.dev)

Message is in Reply To:
  LPub mask generation
 
I added mask generation for assembly images into LPub. It now can generate a specific mask for each assembly image. I plan on using this for the layout process, where you provide a backdrop image for a page, and LPub uses a mask to superimpose the (...) (20 years ago, 15-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