Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Anders Burla 2560 posts 8256 karma points
    May 11, 2011 @ 11:32
    Anders Burla
    0

    Black background when padding

    Hi Doc

    I tryed to use ImageGen to generate a padded image, but the background is black and i cant set it with bgcolor. Is it because I need a pro version?

    Example

    http://www.teacommerce.dk/ImageGen.ashx?image=/media/1183/frontpage.png&pad=true&width=200&height=200

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    May 11, 2011 @ 11:41
    Douglas Robar
    1

    Looks like there might be a bug there with PNGs. I'll check on it.

    The immediate workaround is to set the &format=jpg

    cheers,
    doug.

  • Anders Burla 2560 posts 8256 karma points
    May 11, 2011 @ 11:52
    Anders Burla
    0

    Perfect! Thanks for your help and looking forward to a minor bug fix :)

  • Matthias 87 posts 173 karma points
    Aug 24, 2011 @ 09:48
    Matthias
    0

    Hi,

    i experienced the same "problem" with png files on our production server , but on localhost it works like it should!
    I added transparent=false as a workaround.

    Matthias

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies