Log in

View Full Version : Overlay multiple transparent gifs and print



noobster
06-16-2006, 09:43 AM
Hi,

greetings from Belgium... :)

i have a little problem here, i have to make a website working localy that will ask a few things to the user about pictures and so on, after he made his choice he will see the different pictures he has chosen on different layers, these pictures (i could say this picture will be printed)

i tried already a few things.
i tried gif and png, and i insterted them on each other using layers (dreamweaver)
the problem is that when i print it (not on printer but via pdf printing or windows document imaging) my transparency disappears and becomes white.so it covers the image below.

is there a way to achieve a nice transparency?

i'm sorry if it seems that the question has already been posted but i didn't find or could not applys the solutions that i saw.

thanks again for any help.

jscheuer1
06-17-2006, 05:34 AM
Generally, whatever is on top will print and what is below will be obscured. Post Script (the language of printing) has trouble interpreting any kind of stacking or transparency of elements and images in HTML and javascript. The best thing is to present the image by itself on a separate page for printing purposes.

djr33
06-17-2006, 10:55 AM
If you really need to be able to print something with overlays, you might need to look into the GD library that is part of PHP.

Basically, it allows you to use php code to, through just text, create, control and modify images, and output an image (as opposed to html).
They can be dynamic and based on user input as well.

The downside is that you'd need to get a basic understanding of php and then learn the quite complex methods of using the image functions.

noobster
06-19-2006, 07:14 AM
Sadly,

i don't have time to learn to use GD library, i had already taken a look to this but seems a bit colnfusing for a start.

i'll have to go with something else then.

thansk for the tips anyway.

have a nice day.