Need help resizing images.

Discussion in 'Programming' started by erics1230, Jul 21, 2008.

  1. #1
    I am currently using

    convert -sample 600x600

    What can I change it to so it does not inlarge smaller images to the 600 high or wide?
     
    erics1230, Jul 21, 2008 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    nico_swd, Jul 21, 2008 IP
  3. blueroomhosting

    blueroomhosting Peon

    Messages:
    13
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Try the ">" flag

    (I am not allowed to post links yet but just google for "imagemagick never enlarge" for documentation)

    it may need escaping in whatever shell you are using.

    for example:
    convert -sample 600x600\>
     
    blueroomhosting, Jul 21, 2008 IP
  4. erics1230

    erics1230 Active Member

    Messages:
    294
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #4
    Thanks a lot, this works

     
    erics1230, Jul 21, 2008 IP