The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    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.
     
Loading...

Share This Page