Rounded Corners PNG Thumbnail Image

Last post 07-05-2009 6:40 AM by akhhttar. 3 replies.

Sort Posts:

  • Rounded Corners PNG Thumbnail Image

    07-03-2009, 2:59 AM
    • Member
      point Member
    • quanghoc
    • Member since 06-19-2008, 2:49 AM
    • Posts 2

    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!

  • Re: Rounded Corners PNG Thumbnail Image

    07-03-2009, 1:08 PM
    • Contributor
      2,367 point Contributor
    • akhhttar
    • Member since 02-14-2007, 3:17 AM
    • Pakistan - Lahore
    • Posts 352

    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


    Lets resolve the problem together.

    Please remember to mark the appropriate replies as answer after your question is solved, thanks

    My Blog
  • Re: Rounded Corners PNG Thumbnail Image

    07-03-2009, 1:41 PM
    • Member
      point Member
    • quanghoc
    • Member since 06-19-2008, 2:49 AM
    • Posts 2

    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.

  • Re: Rounded Corners PNG Thumbnail Image

    07-05-2009, 6:40 AM
    Answer
    • Contributor
      2,367 point Contributor
    • akhhttar
    • Member since 02-14-2007, 3:17 AM
    • Pakistan - Lahore
    • Posts 352

     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

    Lets resolve the problem together.

    Please remember to mark the appropriate replies as answer after your question is solved, thanks

    My Blog
Page 1 of 1 (4 items)