On 02/02/15 20:27, Marty Knapp wrote:
Is there a way to convert a transparent PNG graphic to non-transparent when importing? There are 2 bugs on Windows (Mac is OK) when printing transparent images (any image with transparency or any image given transparency via blendLevel or inks. They are bugs 14089 and 14256 - both confirmed. They happen when printing and when using the LC print to PDF feature.

At this point I'm limiting my users to importing only Jpegs or BMPs but that is pretty lame. I've also disabled the image fading control I have on my Windows version. Certainly I can tell users to not use transparent PNGs but you know someone will and if they do it may cause them a lot of grief.

Alternately, is there a way to detect if an imported PNG has transparency? If so, then I could disallow just those.

Thanks,
Marty K


How about this:

when you import an image you then layer it on top of an opaque graphic of the same size, group the image and the graphic,
do an:

import snapshot from group "My Grouped IMG and GRAPHIC", delete the imported image and the white graphic, and you will have any images that contain transparent areas converted to images with white areas instead.

You will not have to fuss about working out whether your imported images contain transparent areas or not
as you will perform this process for ALL imported images.

Richmond.

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to