Convert transparent PNG on import?
scott at tactilemedia.com
Mon Feb 2 13:56:16 EST 2015
Do your users go through an import process? If yes, and you can determine which images are PNGs (by file suffix for example), then you might be able to replace the contents of the imported PNG with a snapshot of its position on the card. Export a snapshot of the card using the PNGs rect to a variable, and then set the text of the imported image to the variable.
If you don’t want to mess with the original PNG, you could import a snapshot on top of the original image before printing, and delete any generated snapshots after printing.
Tactile Media, UX/UI Design
On Feb 2, 2015, at 10:27 AM, Marty Knapp <martyknappster at gmail.com> 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.
> Marty K
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode