locked
Rounded Corners PNG Thumbnail Image RRS feed

  • Question

  • User389759811 posted

    Hi all,

    I tried to search for this topic but could not find anything that can match with what I tried to do. Below are the requirements:

    1. I will upload the image in TIF, GIF or JPG format. I need to convert to PNG. How to do this?

    2. Once convert to PNG, I need to crop it so it is a squared image (crop means the longer edge will be cut from both side evenly)

    3. I also need to make 3 corners rounded with 5px radius in 80x80 size. The rounded corners must be transparent (that's why I need PNG)


    If you can help me with either one of three above, that would be great. Thanks!

    Friday, July 3, 2009 2:59 AM

Answers

  • User1483970546 posted

     Hi,

    Which browser you are using? It is a problem with IE6 that it doesn't support PNG's transparent background. There are some CSS and javascript based workarround available to display transparent background of PNG images in IE6.

    Please see

    http://www.twinhelix.com/css/iepngfix/

    Thanks

    Muhammad Akhtar Shiekh

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, July 5, 2009 6:40 AM

All replies

  • User1483970546 posted

    Hi,

    There is lots of stuff available on internet to convert an image format and cropping using .NET,

    Please see following link for Image Format Convertion,

    http://www.codeproject.com/KB/GDI-plus/dotnet_convertimage.aspx


    Please see following link for Imange Cropping

    http://www.codeplex.com/webcropimage/Wiki/View.aspx?title=Home


    Hope it will work for you,


    Thank You

    Muhammad Akhtar Shiekh


    Friday, July 3, 2009 1:08 PM
  • User389759811 posted

    Hi Muhammad


    Thanks so much. I was able to do 1 and 2. But how to do 3 especially the transparent corners. I made it rounded but it was black.

    Friday, July 3, 2009 1:41 PM
  • User1483970546 posted

     Hi,

    Which browser you are using? It is a problem with IE6 that it doesn't support PNG's transparent background. There are some CSS and javascript based workarround available to display transparent background of PNG images in IE6.

    Please see

    http://www.twinhelix.com/css/iepngfix/

    Thanks

    Muhammad Akhtar Shiekh

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, July 5, 2009 6:40 AM