Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Thumbnail creation size is not decreasing very much

Discussion in 'cPanel Developers' started by babbarkrishan, Apr 11, 2014.

  1. babbarkrishan

    babbarkrishan Registered

    Joined:
    Apr 11, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hi All,
    We are using IM4Java library for creating thumbnails. Our code snippet is given below.


    It is working fine and creating thumbnails as expected.
    Now in one scenario my thumbnail size (not dimension) is not reduced very much.
    My Original image is JPG image with dimension 1306x979 and size 3.64 MB.
    I created its thumbnail in dimension 200x150 but its size is 2.65 MB.
    On the other hand, when we created same dimension thumbnail using Photoshop its size was just 11 KB.

    Where as for another JPG image of size 3.72 MB, its creating thumbnail of size 553 KB.

    I think the size of every thumbnail should be below 20 KB as per targeted dimension i.e. 200x150.

    Please suggest which option of ImageMagic should we use?

    Regards,
    Krishan
     
  2. cPanelJared

    cPanelJared Technical Analyst

    Joined:
    Feb 25, 2010
    Messages:
    1,835
    Likes Received:
    21
    Trophy Points:
    143
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You will probably get more helpful results if you post on a forum that specializes in site script development using ImageMagick. This forum is dedicated for discussion of the cPanel control panel, which helps automate hosting tasks but is not actually involved in the development of specific site scripts.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice