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,103
    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,582
    Location:
    European Union
  4. Gullible Jones

    Gullible Jones Registered Member

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

    mirimir Registered Member

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

    lotuseclat79 Registered Member

    Joined:
    Jun 16, 2005
    Posts:
    5,103
    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,103
    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,103
    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,103
    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:
    6,032
    It's part of ImageMagick.
     
  11. Kyle1420

    Kyle1420 Registered Member

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

    zapjb Registered Member

    Joined:
    Nov 15, 2005
    Posts:
    3,526
    Location:
    USA - Back in a real State in time for a real Pres
    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,331
    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,461
    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,047
    Location:
    United Surveillance States
    I like XnConvert and the command line version nconvert.
     
  16. lotuseclat79

    lotuseclat79 Registered Member

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

    -- Tom
     
Loading...
Thread Status:
Not open for further replies.