Post Reply 
Transparency Pixel colour for Sprites on HP Prime
05-22-2021, 07:31 PM (This post was last modified: 05-22-2021 08:21 PM by matalog.)
Post: #13
RE: Transparency Pixel colour for Sprites on HP Prime
(05-22-2021 05:30 AM)Tim Wessman Wrote:  Take a look at the new ability to embed pictures as data. You should be able to directly use PNG with transparency. Just make sure to unpack it first into a G<N> or other named variable first to avoid PNG decompression each time. That would kill your speed.

Tim, it you looks like you created the program that I used and mentioned in the original post of this thread above. You can find your original post in this old thread: https://www.omnimaga.org/hp-calculator-p...hp-prime)/ With your DIMGROB creator program, how would you then have the output (with relevant pixels coloured your transparency colour in the program) appear transparent?

Also, what is the colour method that your program outputs? This format: #8000800080008000:64h - 64 bit Hex? Would that make it 32768,32768,32768,32768 for R,G,B,A. I'm just trying to understand that. Should the calculator see that as transparent?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Transparency Pixel colour for Sprites on HP Prime - matalog - 05-22-2021 07:31 PM



User(s) browsing this thread: 1 Guest(s)