Thumbnail file size

4 posts, 0 answers
  1. Caleb
    Caleb avatar
    4 posts
    Member since:
    Jan 2009

    Posted 08 Jan 2009 Link to this post

    Hello,

    I have the lite editor working in my WSS 3 site, but I noticed a small issue.

    I uploaded a 1024x1024 JPG that's about 134 KB. When I use the editor to create a thumbnail (200x200), the created thumbnail's file size is larger than the original file! The thumbnail has a file size of 213 KB.

    My guess is that the original JPEG was created using a low quality setting and that RAD Editor created the thumbnail using a higher quality setting.

    Is there a way to change a global setting for image resizing, or to expose a control that allows users to specify the level of quality when creating the thumbnail?

    On a related note, it would be awesome to be able to change both image type (JPEG, PNG, etc.) and quality setting (if applicable). Is this a feature of the full version? I didn't see it in the demos.

    Thanks,
    Caleb
  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 12 Jan 2009 Link to this post

    Hi Caleb,

    I tested the issue, but I was not able to reproduce it. Could you please give us an url to the image so we will be able to reproduce the problem on our side.

    Thank you.


    Sincerely yours,
    Stanimir
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

  3. Caleb
    Caleb avatar
    4 posts
    Member since:
    Jan 2009

    Posted 12 Jan 2009 Link to this post

    Hi Stanimir,

    Here are some links to the original file and the produced thumbnail.

    Original: http://gfsmesh.com/images/BlueMarble.jpg
    Thumbnail: http://gfsmesh.com/images/BlueMarbleThumbnail.jpg

    In Firefox, if you right click the image and click properties, the original is listed as type JPEG with a size of 134.15 KB (137371 bytes) and the thumbnail is type BMP with a size of 213.5 KB (218624 bytes).

    The source of the original image is the NASA Earth Observatory. The article is here:
    http://earthobservatory.nasa.gov/Features/BlueMarble/

    And the original link is here:
    http://earthobservatory.nasa.gov/Features/BlueMarble/Images/BlueMarble_2005_SAm_09_1024.jpg

    I picked the image at random to test the thumbnailing feature and other image handling features. I suspect the problem is specific to this image, but I don't know what about the file would cause the thumbnailer to encode it as a BMP instead of JPEG.

    Thanks,
    Caleb
  4. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 15 Jan 2009 Link to this post

    Hi Caleb,

    I tested the issue with the provided images and was not able to reproduce it. Indeed there might be a problem with the image. The RadEditor uses the framework engine to create thumbnails and by default the new image file extension is the same as the original one. I really can not imagine what would be the reason for converting .jpg to .jpg.bmp . For the time being, I suggest you to try to open for editing the image with some software and save it as the same type. I think that this might solve your problem.


    Greetings,
    Stanimir
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top