IMG2PNG, PDS/FITS to PNG conversion |
![]() ![]() |
IMG2PNG, PDS/FITS to PNG conversion |
![]()
Post
#121
|
|
![]() IMG to PNG GOD ![]() ![]() ![]() ![]() Group: Moderator Posts: 2254 Joined: 19-February 04 From: Near fire and ice Member No.: 38 ![]() |
Turns out there was a subtle bug in the new 64 bit version of IMG2PNG announced in the previous post. The error was caused by internal changes that were necessary for the 64 bit version to work when converting very large images. The bug affected the calibration of Cassini images. In special cases it could also mess up the conversion of image files containing floating point data. A new version is now available where this bug has been fixed.
As usual, IMG2PNG is available here: http://bjj.mmedia.is/utils/img2png/index.html If you downloaded the version announced in the previous post I strongly recommend upgrading to this new version (this applies not only to the 64 bit version - the 32 bit version mentioned in the previous post was also affected). |
|
|
![]()
Post
#122
|
|
![]() Member ![]() ![]() ![]() Group: Members Posts: 240 Joined: 13-October 09 From: Olympus Mons Member No.: 4972 ![]() |
Hi, I'm trying to convert Img files with this and it keeps saying "The Disk Image File is corrupted". I think I might be typing something wrong in cmd but I am not sure.
EDIT:I was typing it wrong but now it's not recognizing the command. -------------------- "Thats no moon... IT'S A TRAP!"
|
|
|
![]()
Post
#123
|
|
![]() IMG to PNG GOD ![]() ![]() ![]() ![]() Group: Moderator Posts: 2254 Joined: 19-February 04 From: Near fire and ice Member No.: 38 ![]() |
I recently fixed a bug in IMG2PNG that occurred when converting input files containing more than one band of floating point data where the number of bands is not 3. These files are not very common (or at least not many users of IMG2PNG have attempted to convert these files).
As usual, IMG2PNG is available here: http://bjj.mmedia.is/utils/img2png/index.html |
|
|
![]()
Post
#124
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Members Posts: 1590 Joined: 14-October 05 From: Vermont Member No.: 530 ![]() |
Doug told me this was okay to post...
QUOTE Three shall be the number thou shalt count, and the number of the counting shall be three. Four shalt thou not count, neither count thou two, excepting that thou then proceed to three. ... for prior versions, obviously. |
|
|
![]()
Post
#125
|
|
![]() Merciless Robot ![]() ![]() ![]() ![]() Group: Admin Posts: 8785 Joined: 8-December 05 From: Los Angeles Member No.: 602 ![]() |
I take it that five is right out, then...?
![]() -------------------- A few will take this knowledge and use this power of a dream realized as a force for change, an impetus for further discovery to make less ancient dreams real.
|
|
|
![]()
Post
#126
|
|
Newbie ![]() Group: Members Posts: 3 Joined: 21-January 18 Member No.: 8328 ![]() |
I recently fixed a bug in IMG2PNG that occurred when converting input files containing more than one band of floating point data where the number of bands is not 3. These files are not very common (or at least not many users of IMG2PNG have attempted to convert these files). As usual, IMG2PNG is available here: http://bjj.mmedia.is/utils/img2png/index.html Hi, Bjorn! Is it possible to get source files of img2png somehow? One of my friends, software developer, got challenge starving and want to try to recompile it for linux\macOS systems. img2pmg still one of the best apps to convert img\fits files, but it is always painful to install virtual machine to use only this one tiny program. |
|
|
![]()
Post
#127
|
|
Member ![]() ![]() ![]() Group: Members Posts: 890 Joined: 18-November 08 Member No.: 4489 ![]() |
img2png might be useful on linux
but seeing as ISIS3 and ISIS4 already are linux programs it might not be needed "isis2std" already outputs to png,jpg, and tiff ( 16 and 8 bit) and "cubeatt" will output to a 32bit raw image |
|
|
![]()
Post
#128
|
|
![]() Senior Member ![]() ![]() ![]() ![]() Group: Moderator Posts: 3241 Joined: 11-February 04 From: Tucson, AZ Member No.: 23 ![]() |
There are a few data sets that are not properly supported by ISIS4 that are with IMG2PNG, for example Juno JIRAM. Though in that case, I can bring the images into Photoshop, but IMG2PNG does provide quite browse products.
-------------------- &@^^!% Jim! I'm a geologist, not a physicist!
The Gish Bar Times - A Blog all about Jupiter's Moon Io |
|
|
![]()
Post
#129
|
|
Founder ![]() ![]() ![]() ![]() Group: Chairman Posts: 14434 Joined: 8-February 04 Member No.: 1 ![]() |
I see in the release notes that Chang'e 3 data is supported complete with a debayer option added around the same time..
FWIW - I tried some recently downloaded Chang'e 5 data and got this error.. CODE Converting CE5-L_GRAS_PCAML-I-138_SCI_N_20201202181302_20201202181302_0003_A.2B Attempting to detect the format of CE5-L_GRAS_PCAML-I-138_SCI_N_20201202181302_20201202181302_0003_A.2B, length=8191 Can't detect the format of file CE5-L_GRAS_PCAML-I-138_SCI_N_20201202181302_20201202181302_0003_A.2B Couldn't convert CE5-L_GRAS_PCAML-I-138_SCI_N_20201202181302_20201202181302_0003_A.2B I went and checked - and CE3 PCAM images do process well - and I think the CE4 and CE5 images are largely the same. Maybe something to consider for the next release! Doug |
|
|
![]()
Post
#130
|
|
![]() Member ![]() ![]() ![]() Group: Members Posts: 240 Joined: 13-October 09 From: Olympus Mons Member No.: 4972 ![]() |
Are their plans to one day incorporate PDS4 conversion as those products grow in number?
-------------------- "Thats no moon... IT'S A TRAP!"
|
|
|
![]()
Post
#131
|
|
![]() IMG to PNG GOD ![]() ![]() ![]() ![]() Group: Moderator Posts: 2254 Joined: 19-February 04 From: Near fire and ice Member No.: 38 ![]() |
Yes, I will be adding PDS4 support. This is a fairly big change though - finding the time to do it is the main problem since I'm currently working on some very large image processing projects that I want to finish first (or at least finish some of them).
I went and checked - and CE3 PCAM images do process well - and I think the CE4 and CE5 images are largely the same. Maybe something to consider for the next release! In contrast to PDS4 this should be a trivial change. I'll probably add CE4 and CE5 conversion soon (hopefully this month). |
|
|
![]()
Post
#132
|
|
![]() IMG to PNG GOD ![]() ![]() ![]() ![]() Group: Moderator Posts: 2254 Joined: 19-February 04 From: Near fire and ice Member No.: 38 ![]() |
A new version of IMG2PNG is now available. This is just a minor update and only of importance in a few rare cases. The only change is that files containing 64 bit floating point data can now be converted (example: Dawn Vesta gravity maps).
As usual, IMG2PNG is available here: http://bjj.mmedia.is/utils/img2png/index.html I see in the release notes that Chang'e 3 data is supported complete with a debayer option added around the same time.. FWIW - I tried some recently downloaded Chang'e 5 data and got this error.. The reason for the error turned out to be that this is a PDS4 data set. I hadn't noticed this above when I replied that this problem with the Chang'e 5 data would be trivial to fix. Adding PDS4 support is a major change. I have started work on it but it is proceeding slowly due to various other projects. |
|
|
![]()
Post
#133
|
|
![]() IMG to PNG GOD ![]() ![]() ![]() ![]() Group: Moderator Posts: 2254 Joined: 19-February 04 From: Near fire and ice Member No.: 38 ![]() |
A new version of IMG2PNG is now available. This fixes a bug that could result in IMG2PNG terminating (or even crashing) without converting all of the files it should convert. Also fixed a minor bug involving VICAR formatted files.
As usual, IMG2PNG is available here: http://bjj.mmedia.is/utils/img2png/index.html |
|
|
![]()
Post
#134
|
|
![]() Member ![]() ![]() ![]() Group: Members Posts: 240 Joined: 13-October 09 From: Olympus Mons Member No.: 4972 ![]() |
Is there a possible ETA on a PDS4 compatibility? A lot of things are now PDS4 these days and conversion projects at PDS are rendering the tool increasingly obsolete.
Found these cool maps of Rhea and Dione but unable to convert them. https://pdsimage2.wr.usgs.gov/Individual_In..._scipioni_2022/ -------------------- "Thats no moon... IT'S A TRAP!"
|
|
|
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 7th September 2024 - 11:48 PM |
RULES AND GUIDELINES Please read the Forum Rules and Guidelines before posting. IMAGE 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. |
![]() |