Looking for a Linux tool ...

Discussion in 'all things UNIX' started by lotuseclat79, Jul 23, 2014.

Thread Status:
Not open for further replies.
  1. lotuseclat79

    lotuseclat79 Registered Member

    Joined:
    Jun 16, 2005
    Posts:
    5,390
    Hi all,

    Anyone know of a tool that converts PNG images to JPG?
     
  2. Veeshush

    Veeshush Registered Member

    Joined:
    Mar 16, 2014
    Posts:
    643
    Wouldn't Gimp do it? Or do you have a ton that you'd rather just run some automatic converter on?
     
  3. Nebulus

    Nebulus Registered Member

    Joined:
    Jan 20, 2007
    Posts:
    1,635
    Location:
    European Union
  4. Gullible Jones

    Gullible Jones Registered Member

    Joined:
    May 16, 2013
    Posts:
    1,466
    Imagemagick or graphicsmagick - 'convert' or 'gm convert' respectively.
     
  5. mirimir

    mirimir Registered Member

    Joined:
    Oct 1, 2011
    Posts:
    9,252
    Convert can do many things. Just skim through "man convert".
     
  6. lotuseclat79

    lotuseclat79 Registered Member

    Joined:
    Jun 16, 2005
    Posts:
    5,390
    Hi Veeshush,

    Gimp did not seem to have an easy to use interface for converting file formats as far as I could tell. So No.
     
  7. lotuseclat79

    lotuseclat79 Registered Member

    Joined:
    Jun 16, 2005
    Posts:
    5,390
    Hi mirimir,

    In what repository is convert (for Unix/Linux)? Obviously, I do not have convert installed on my system, and rarely if ever do such image conversions.
     
  8. lotuseclat79

    lotuseclat79 Registered Member

    Joined:
    Jun 16, 2005
    Posts:
    5,390
    Hi Nebulus,

    Thanks - I was able to download a Unix tar file version, and I will try that first.
     
  9. lotuseclat79

    lotuseclat79 Registered Member

    Joined:
    Jun 16, 2005
    Posts:
    5,390
    Hi Gullible Jones,

    Thanks, I will try graphicsmagick if I have no luck with Imagemagick!
     
    Last edited: Jul 23, 2014
  10. mirimir

    mirimir Registered Member

    Joined:
    Oct 1, 2011
    Posts:
    9,252
    It's part of ImageMagick.
     
  11. Kyle1420

    Kyle1420 Registered Member

    Joined:
    May 27, 2008
    Posts:
    490
    Can't you just use gimp and "export as..." jpg?
     
  12. zapjb

    zapjb Registered Member

    Joined:
    Nov 15, 2005
    Posts:
    5,554
    Location:
    USA still the best. But barely.
    This is going to sound weird. But sometimes I just rename the extension. Like for .mpo (3d photos) I change to .jpg. It produces 2 .jpg files. I always try changing the file extension on whatever over the years & it works more often than I would've thought.
     
    Last edited: Jul 24, 2014
  13. NGRhodes

    NGRhodes Registered Member

    Joined:
    Jun 23, 2003
    Posts:
    2,381
    Location:
    West Yorkshire, UK
    Yes, very simple, not used it in a while but you can pretty much run the command "convert file.png file.jpg" and optionally specify the compression ratio.
     
  14. Gullible Jones

    Gullible Jones Registered Member

    Joined:
    May 16, 2013
    Posts:
    1,466
    The only way this would work is if the file manager converted files automatically when the extension changed. Not sure if any file managers support that; personally I think such a thing would be a misfeature.
     
  15. 0strodamus

    0strodamus Registered Member

    Joined:
    Aug 23, 2009
    Posts:
    1,058
    Location:
    United Surveillance States
    I like XnConvert and the command line version nconvert.
     
  16. lotuseclat79

    lotuseclat79 Registered Member

    Joined:
    Jun 16, 2005
    Posts:
    5,390
    Xnconvert was easy to use to accomplish the conversion.

    -- Tom
     
Thread Status:
Not open for further replies.
  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.