Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: photo edit software?

  1. #11
    Join Date
    Dec 2007
    Location
    Tampa, FL
    Beans
    1,087
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: photo edit software?

    I'm not on my ubuntu box but is imagemagick in the repos?
    I agree with you! This is a great way to convert several images at once.
    1. Does it recognize subdirectories as well?
    2. Can I use wildcards (i.e., *.png) so that it maintains the same file name in a different format?
    "There are 10 types of people: Those who read binary and those who don't"
    >>>"who is general failure and why is he reading my files"<<<
    The Ubuntu Counter Project - user number # 22367
    Howto automount NTFS - My wallpaper

  2. #12
    Join Date
    Apr 2006
    Location
    Minnesota
    Beans
    748
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: photo edit software?

    Yes it's in the repos

    sudo apt-get install imagemagick
    I don't believe it works recursively with directories,you have to convert one at a time or write a script to automate it.
    Yes it supports *.png etc...

    The commands can be a little confusing you should read the basic usage guide here

  3. #13
    Join Date
    May 2005
    Location
    vancouver canada
    Beans
    198

    Re: photo edit software?

    just a note...........

    I'm always amazed by the "depth" of the replys!

    you guys (gals) rock!

  4. #14
    Join Date
    Jun 2008
    Location
    California
    Beans
    2,271
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: photo edit software?

    Quote Originally Posted by Victormd View Post
    I'm not on my ubuntu box but is imagemagick in the repos?
    I agree with you! This is a great way to convert several images at once.
    1. Does it recognize subdirectories as well?
    2. Can I use wildcards (i.e., *.png) so that it maintains the same file name in a different format?
    You can use the mogrify utility from the Imagemagick package to convert a series of image files to another format while retaining the base file name. To do this, open a terminal window and change to the directory that contains the image files. Then, enter the following:

    Code:
    mogrify -format tif *.png
    In the above, change png to the extension of the existing image files and tif to the desired format of the new image files.

    The above command only works on image files in the current directory. The following command works recursively:

    Code:
    find /source/folder -iname *.png -type f -exec \
    /usr/bin/mogrify -format tif -path /destination/folder '{}' \;
    You need to change /source/folder, png, tif, and /destination/folder to meet your needs.
    Last edited by kaibob; June 21st, 2008 at 10:44 PM.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •