IPB

Welcome Guest ( Log In | Register )

IMG2PNG, PDS/FITS to PNG conversion
Bjorn Jonsson
post Feb 16 2008, 02:04 PM
Post #1


IMG to PNG GOD
****

Group: Moderator
Posts: 2256
Joined: 19-February 04
From: Near fire and ice
Member No.: 38



I decided to create a special thread for this topic. Previously information on IMG2PNG was scattered across various threads here.

I new version of IMG2PNG is now available. For those that don't know, this is a command line uitility that can convert various PDS formatted files to PNGs (8 or 16 bits per pixel depending on the input files).

This utility should work for lots of different PDS files, e.g. MER, Pathfinder, Voyager, Galileo, Cassini, Stardust, various Mars orbiters, Mariner 9/10 (!), Viking Orbiter, Viking Lander, Magellan, Clementine, Messenger, New Horizons etc.

The major new feature in the new version is the ability to convert FITS files.

IMG2PNG can be downloaded by visiting http://www.mmedia.is/bjj/utils/img2png

Any information on possible bugs welcome.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Juramike
post May 26 2011, 01:49 PM
Post #2


Senior Member
****

Group: Moderator
Posts: 2785
Joined: 10-November 06
From: Pasadena, CA
Member No.: 1345



Thanks! I'll try that this evening! I used the WinZip defaults when I unpacked the calibration data.

(To turn off the TAR file smart CR/LF conversion it is in the WinZip "Options/configuration/Miscellaneous/other" box.)

-Mike


--------------------
Some higher resolution images available at my photostream: http://www.flickr.com/photos/31678681@N07/
Go to the top of the page
 
+Quote Post

Posts in this topic
- Bjorn Jonsson   IMG2PNG   Feb 16 2008, 02:04 PM
- - Bjorn Jonsson   I just uploaded a new version of IMG2PNG. This ver...   Jun 7 2009, 12:53 AM
|- - knight   QUOTE (Bjorn Jonsson @ Jun 7 2009, 01:53 ...   Jan 21 2010, 10:34 PM
|- - Bjorn Jonsson   I have now fixed the bug mentioned by knight (and ...   Jan 25 2010, 12:14 AM
|- - knight   Awesome ! Thanks Bjorn, I will test this when...   Jan 25 2010, 12:26 AM
- - djellison   Another data set, another IMG2PNG challenge http...   Dec 11 2009, 02:34 PM
|- - Bjorn Jonsson   I'll take a look at this sometime in the next ...   Dec 12 2009, 12:41 AM
||- - djellison   sNNNN worked in brightening up the resultant 16 bi...   Dec 12 2009, 02:09 PM
|- - siravan   QUOTE (djellison @ Dec 11 2009, 09:34 AM)...   Dec 12 2009, 02:19 AM
||- - knight   QUOTE (siravan @ Dec 12 2009, 03:19 AM) I...   Jan 21 2010, 09:46 PM
|- - mhoward   QUOTE (djellison @ Dec 11 2009, 08:34 AM)...   Dec 12 2009, 03:35 PM
- - imipak   CODE [imipak@localhost] $ file ~/Download/DT2...   Dec 12 2009, 07:12 PM
|- - mhoward   I guess I need to be more clear. Above, we're ...   Dec 12 2009, 07:26 PM
- - Phil Stooke   Stepping around that wee problem for a second, the...   Dec 12 2009, 08:30 PM
- - elakdawalla   One of the files in that directory has an IMG exte...   Dec 12 2009, 09:18 PM
|- - mhoward   QUOTE (elakdawalla @ Dec 12 2009, 02:18 P...   Dec 13 2009, 03:09 AM
- - siravan   I've attached a portion of DTEEC_002620_1410_0...   Dec 12 2009, 10:03 PM
- - Phil Stooke   Ah, now it's starting to make sense... two HiR...   Dec 12 2009, 11:17 PM
- - JohnVV   QUOTE the Kaguya released images, when unzipped, a...   Dec 13 2009, 02:42 AM
- - siravan   The first image is the middle portion of the data ...   Dec 13 2009, 05:28 AM
- - djellison   FWIW - Using ISIS3 I've now got these converti...   Dec 20 2009, 02:31 PM
- - Bjorn Jonsson   I just made another new version of IMG2PNG, this t...   Jan 26 2010, 12:59 AM
- - elakdawalla   Although the gridded topographic data is indeed li...   Jan 26 2010, 02:19 AM
- - S_Walker   I can't seem to get IMG2PNG to work on my comp...   Mar 15 2010, 04:24 PM
- - Bjorn Jonsson   This is weird - IMG2PNG should work if cfitsio.dll...   Mar 15 2010, 08:11 PM
|- - S_Walker   Nope, that didn't help at all... stupid window...   Mar 16 2010, 12:02 PM
|- - M@!   Do you have local administrator rights on your wor...   Mar 16 2010, 11:03 PM
|- - S_Walker   I think thats the problem, I don't have admin ...   Mar 17 2010, 01:05 AM
- - Sajid   Hi guys, I'm working on a real-time renderer ...   May 2 2010, 05:33 AM
|- - Bjorn Jonsson   QUOTE (Sajid @ May 2 2010, 05:33 AM) Does...   May 3 2010, 01:27 AM
|- - Sajid   QUOTE (Bjorn Jonsson @ May 3 2010, 02:27 ...   May 3 2010, 08:00 AM
|- - ugordan   QUOTE (Sajid @ May 3 2010, 10:00 AM) It w...   May 3 2010, 03:54 PM
- - JohnVV   i am not sure but most of the mars data is 12 bit ...   May 3 2010, 12:12 AM
- - JohnVV   QUOTE Getting the full 16 bits makes a big differe...   May 3 2010, 02:18 AM
|- - Sajid   QUOTE (JohnVV @ May 3 2010, 03:18 AM) the...   May 3 2010, 08:02 AM
- - Sajid   To put things into context, I am working on a real...   May 3 2010, 04:13 PM
- - Ian R   Bjorn, I just want to make you aware of a possibl...   Oct 16 2010, 01:44 AM
- - djellison   Thinking out-loud - http://www.unmannedspaceflight...   Nov 30 2010, 12:27 AM
- - Bjorn Jonsson   At last I have started rewriting my PDS file parsi...   Dec 1 2010, 11:30 PM
- - Bjorn Jonsson   I now have an alpha version of a new IMG2PNG where...   Feb 8 2011, 12:38 AM
- - machi   At first, I thank you for this excellent simple, b...   Feb 10 2011, 03:07 PM
|- - Bjorn Jonsson   The new version of IMG2PNG now does almost everyth...   Feb 20 2011, 09:55 PM
- - elakdawalla   Here's something I would love IMG2PNG to be ab...   Feb 10 2011, 05:29 PM
|- - Bjorn Jonsson   QUOTE (elakdawalla @ Feb 10 2011, 05:29 P...   Feb 21 2011, 10:46 PM
- - Bjorn Jonsson   These are all excellent ideas and some of them had...   Feb 11 2011, 12:50 AM
- - machi   Stretching and converting 16 bit to 8 bit. When I ...   Feb 21 2011, 11:27 AM
- - elakdawalla   The NEAR MSI images have non-square pixels, which ...   Feb 21 2011, 10:55 PM
|- - Bjorn Jonsson   Actually it's fairly trivial to add resampling...   Feb 21 2011, 11:10 PM
- - elakdawalla   It's FITS format: http://pdssbn.astro.umd.edu/...   Feb 22 2011, 01:37 AM
- - Bjorn Jonsson   I'm now very close to finishing the new versio...   Mar 21 2011, 06:52 PM
- - machi   It's possible via start menu, possibly (I don...   May 24 2011, 07:29 PM
- - Bjorn Jonsson   I have 'moved' this discussion to private ...   May 24 2011, 07:54 PM
|- - S_Walker   Thanks everyone for the help. It seems the images ...   May 24 2011, 09:26 PM
- - Bjorn Jonsson   Correct, the input images are 8 bit. But there...   May 24 2011, 10:14 PM
- - machi   Original image from Cassini's ISS can be 8-bit...   May 24 2011, 10:25 PM
|- - Bjorn Jonsson   QUOTE (machi @ May 24 2011, 10:25 PM) BTW...   May 26 2011, 12:57 AM
|- - machi   QUOTE (Bjorn Jonsson @ May 26 2011, 02:57...   May 26 2011, 01:57 PM
- - S_Walker   Thanks everyone for the help. Works great now. Emi...   May 25 2011, 01:39 PM
|- - ugordan   QUOTE (S_Walker @ May 25 2011, 03:39 PM) ...   May 25 2011, 01:44 PM
- - Juramike   OK so... New img2png programs unzipped - check Ca...   May 26 2011, 02:32 AM
- - Juramike   Part II: Looked at log files. Needed to download...   May 26 2011, 11:13 AM
- - Bjorn Jonsson   I wonder if the calibration volume didn't get ...   May 26 2011, 12:15 PM
- - Juramike   Thanks! I'll try that this evening! ...   May 26 2011, 01:49 PM
- - Bjorn Jonsson   The issue with the IMQ files has now been fixed an...   May 26 2011, 06:11 PM
- - Juramike   Awesome! It now works for me! Whoo-hoo...   May 27 2011, 02:32 AM
- - machi   It looks, that it's now working fine. Thank yo...   May 27 2011, 05:19 PM
- - Bjorn Jonsson   The IMG2PNG beta version discussed in recent messa...   Jun 18 2011, 12:39 AM
- - Bjorn Jonsson   A new version of IMG2PNG is now available that inc...   Mar 16 2012, 11:40 AM
- - Bjorn Jonsson   A new version of IMG2PNG is now available. There a...   Dec 16 2012, 07:50 PM
- - Bjorn Jonsson   A new version of IMG2PNG is now available. This is...   Apr 30 2013, 10:55 AM
- - Bjorn Jonsson   A new version of IMG2PNG is now available. This is...   Apr 10 2014, 12:00 AM
- - Bjorn Jonsson   A new version of IMG2PNG is now available. There a...   May 3 2014, 07:31 PM
- - sjones   Hi, I am having a few issues with converting some ...   Aug 12 2014, 11:34 AM
- - JohnVV   well "NAC_ROI_APOLBASNHIA_E370S2061_20M...   Aug 13 2014, 01:30 AM
- - elakdawalla   Although I can't help with the specific proble...   Aug 13 2014, 02:59 AM
- - JohnVV   A lot of people treat the pds images as "raw...   Aug 14 2014, 05:15 AM
- - sjones   Thanks for the info, I have taken a look into gmic...   Aug 14 2014, 01:33 PM
- - JohnVV   QUOTE while trying to use gmic I get the error fai...   Aug 18 2014, 12:13 AM
- - sjones   Thanks for the help. the img2jpg is similar as I ...   Aug 18 2014, 12:54 AM
- - Bjorn Jonsson   A new version of IMG2PNG is now available. In this...   Mar 14 2015, 01:50 AM
- - Ian R   QUOTE (elakdawalla @ Jun 4 2015, 09:34 PM...   Jun 5 2015, 04:13 AM
- - volcanopele   I've just started to play around with IMG2PNG ...   Jun 5 2015, 04:03 PM
- - Ian R   Thanks for the feedback Jason. I prefer to calibra...   Jun 5 2015, 04:48 PM
- - Ian R   I've got it cracked (I think): the -fstretch c...   Jun 5 2015, 05:26 PM
- - elakdawalla   That's right, you don't need to use -r whe...   Jun 5 2015, 05:58 PM
- - Bjorn Jonsson   To clarify things a bit (much of this has appeared...   Jun 6 2015, 12:44 PM
- - Marc   Hello, when I try to calibrate the cassini images ...   Jul 16 2015, 12:49 PM
- - Bjorn Jonsson   A new IMG2PNG version is now available. This is a ...   Jan 15 2016, 09:20 PM
|- - open768   Hi a bit of a newbie question - what do I need to ...   Jan 30 2016, 11:02 AM
- - machi   I seriously miss the "like" or "app...   Jan 15 2016, 10:00 PM
2 Pages V   1 2 >


Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 31st October 2024 - 10:46 PM
RULES AND GUIDELINES
Please read the Forum Rules and Guidelines before posting.

IMAGE COPYRIGHT
Images posted on UnmannedSpaceflight.com may be copyrighted. Do not reproduce without permission. Read here for further information on space images and copyright.

OPINIONS AND MODERATION
Opinions expressed on UnmannedSpaceflight.com are those of the individual posters and do not necessarily reflect the opinions of UnmannedSpaceflight.com or The Planetary Society. The all-volunteer UnmannedSpaceflight.com moderation team is wholly independent of The Planetary Society. The Planetary Society has no influence over decisions made by the UnmannedSpaceflight.com moderators.
SUPPORT THE FORUM
Unmannedspaceflight.com is funded by the Planetary Society. Please consider supporting our work and many other projects by donating to the Society or becoming a member.