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 / 9861
9860  |  9862
Subject: 
LPub mask generation
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 15 Sep 2004 20:35:47 GMT
Viewed: 
1530 times
  
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.

The layout process would start with the background image you provide, overlay it
with the assembly image, then overlay the part list image and step number (maybe
page number too.)

Willy has been the most vocal one about having masks.  Willy, how did you see
the masks getting implemented?

Kevin



Message has 3 Replies:
  Re: LPub mask generation
 
(...) 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 (20 years ago, 15-Sep-04, to lugnet.cad.dev)
  Re: LPub mask generation
 
(...) What about jpeg 2000? It seems to have some sort of support for alpha channels. Don (20 years ago, 16-Sep-04, to lugnet.cad.dev)
  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