Results 1 to 4 of 4

Thread: Overlay multiple transparent gifs and print

  1. #1
    Join Date
    Jun 2006
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Overlay multiple transparent gifs and print

    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.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    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.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  4. #4
    Join Date
    Jun 2006
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •