LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Best way to retrieve mask info from picture? (also Doom)

Highlighted

Thanks everyone for your suggestions. The original snippet has an image in the form of a picture control, which is what I would like to extract the mask from. The source for that image is in the WAD file, but isn't a standard graphics format.

 

I think the easiest option might be to maintain the mask data in a separate picture, and do two lots of picture processing (compositing textures, building map views, etc) on both the picture with mask, and the mask only version. Then when it comes to saving to PNG, the mask can be extracted from the image data of the mask only picture and inserted into the pixmap cluster.

Save Picture With Mask.png

 

I haven't updated the viewer with the above changes, but if anyone is interested the current viewer source code is here (LV2017), and can be used with the Doom demo WAD.

0 Kudos
Message 11 of 12
(63 Views)
Highlighted

@Dataflow_G wrote:

I haven't updated the viewer with the above changes, but if anyone is interested the current viewer source code is here (LV2017), and can be used with the Doom demo WAD.


I'll put it -somewhere- on my yak shaving list. 😊

Message 12 of 12
(45 Views)