Henk Jonas wrote:

The question isn't what's your custom resource format. Every resource where you put your jpeg is custom at the end. At least my docs doesn't mention jpeg-resources at all.

Sorry, I did a topic confusion. I thought that it was an answer for the other topic that we are having a hot discussion of why use jpeg/why dont use jpeg.

The question, is how is the color connected to your mask? The mask is just a 0/1 bitmap, which indicates, which pixel of the source shall be copied to the dest and which not.

I am using the same resource for the mask and for the mask resource, not using 0/1 bitmap for mask.

If you fear the work to create 450 mask pictures, I can undertsand it, but you can have a small desktop app, which does the job for you. The overhead is very small in the resulting .prc.

I am not needing it until now, I know that I can research and find a command line tool that can do these masks for me, but there is no need until now. I am just using the same resource as mask and no problem until now.

Another aproach could be to store the transparent color range and create the mask on the fly from your jpeg.

Is a very good idea, I prefer to do not use mhrs for this, but if needed could be a solution.

Or go ahead with your TransparentValue and come back to us in half a year, when you got it working.

What you mean that dont work? Set the transparency value or use jpeg as its own masks?

The jpeg masks are working for image that needs transparency as black. The ones that are not working is for blue and white color transparency as it is needed to make this BmpSetTransparentValue stuff work.


Henk


regards,

Franco

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to