Hello List,

I have a project where I am downloading a group of images on the fly to a
dcr when they are called. I've made them all jpegs to take advantage of the
smaller file size. But most of these are irregular shaped with white
backgrounds that need to be transparent. The nature of the "jpeg" beast
makes some of the white pixels off-white, thus not allowing them to be
transparent. So I made masks for each of them. I know that masks are suppose
to be 1-bit images but jpg format doesn't allow that and you can't change
the bit depth within the dcr. But the jpegs work as masks, for the most part
(more on that later), as long as I keep the compression low (or high
depending on how you look at it). Here is one of many problems doing it this
way. My mask is almost as big as the original image and I have to download
two bitmap images for each image I want to display. 

  - -  What can I do to get a better solution to my problem?  - -

I tried using png files with alpha channels for the mask. They worked in
authoring mode but not within the dcr. I thought about gif files for the
mask but the deadline didn't allow me time to test this. 

What have you guy/gals done to get by this problem? 

Also, the other problem I wrote about, is that on my machine at home (and
other machines) the masks work like they are suppose to but on my machines
at work (behind firewall if that matters) the image masks look like there
has been more compression added to them. I'm sure if my machines at work are
doing it some other ones will do it also. Any thoughts?

Thanks in advance for your help,

Rich Azinger

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to