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 / 9862
9861  |  9863
Subject: 
Re: LPub mask generation
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 15 Sep 2004 21:07:19 GMT
Viewed: 
4068 times
  
In lugnet.cad.dev, Kevin L. Clague wrote:
> 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 assembly on some nice background image.  You get a separate
> bitmap file that contains the mask.  Is there some way of merging the masks in
> with the original assembly image?  I'm sure there is for file formats like PNG,
> but LPub does not know how to deal with PNG yet.

I'm not entirely sure, but I'm pretty sure you can create a 32bpp BMP file.
Normally, 8 bits in each pixel would then be ignored.  However, I don't see any
reason the data wouldn't be there for you to interpret yourself.

--Travis Cobbs



Message has 1 Reply:
  Re: LPub mask generation
 
(...) Careful! A *Windows* color value uses the high bit to indicate that the rest is an index into the 'System Color Palette' and not a RGB value at all (In Delphi you have ColorToRGB() to get the RGB value from such a 'color'). I'm not at all sure (...) (22 years ago, 16-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 (...) (22 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
    

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