Problem with transparency.

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default Problem with transparency.

    Hi!
    I have a problem with resizing of gif and png.
    Images sended by users are resized and there is a problem, because png
    and gif loose their transparency. I think the problematic is function
    imagecopyresampled
    How can I solve this problem.
    (PHP 4.3.5) and (GD 2 or higher - with gif support)
    Thank you for help.

    --
    Sawi
    Sawi Guest

  2. Similar Questions and Discussions

    1. transparency problem
      i'm having problems with transparent models in shockwave... i have several plane models with transparent pngs, for example trees and fences. when...
    2. Eterm transparency problem.
      Is anyone else having a problem with Eterm 0.9.3? I love its transparency ability and had it set up with the following user.cfg: <Eterm-0.9.2>...
    3. Flatten transparency problem
      I drew a spiral in illo 10 that had gradiants in it. I then used the Arc filter to taper it. I then made it a multiple transparency. When I went to...
    4. Transparency problem for game
      Hi I am editing some skins for a game and the bits that are supossed to be transparent are not working I have tried altering some things but still no...
    5. problem with transparency
      Hello, can you please help me? I have a big problem. I used the background-rubber to make the layer transparent at some pixels. Then i saved...
  3. #2

    Default Re: Problem with transparency.

    on Monday 20 September 2004 11:15 Sawi was babbling of...
    > Hi!
    > I have a problem with resizing of gif and png.
    > Images sended by users are resized and there is a problem, because png
    > and gif loose their transparency. I think the problematic is function
    > imagecopyresampled
    > How can I solve this problem.
    > (PHP 4.3.5) and (GD 2 or higher - with gif support)
    > Thank you for help.
    >
    not sure it can help... but you could try using ImageMagick class...

    my 2 cents

    --
    William Maddler
    [url]http://www.personepigre.it[/url]
    [url]http://www.maddler.net[/url]

    William Maddler Guest

  4. #3

    Default Re: Problem with transparency.

    William Maddler napisaƂ(a):
    >Hi!
    Hi!
    > not sure it can help... but you could try using ImageMagick class...
    I think it's a very good solution. I will it ...
    Thanks.

    --
    Sawi
    <z powodu remontu sygnaturka nieczynna>
    Sawi Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139