Thanks, Guy. 

Ha ha. No big deal re: the job. I only did it for 30 years.

I’m capable of doing command line stuff, but not a huge fan. Ran into an error 
trying to install UFRaw and ground pretty quickly to a halt.

I did send Emily an email telling her that I was able to open the Phoenix .img 
image with NASAview 3.18.0 and save as a GIF. JPEG is another NASAview save 
option, but I figure she’d want to go with the least lossy format available. 

I’ll pass the info along to her.

Best,
Rick

 * * ** *** ***** ******** ************* ********************* 
It’s better to wave at a stranger than to ignore a friend
 * * ** *** ***** ******** ************* ********************* 



> On Jan 30, 2019, at 1:44 PM, Guy Stalnaker <jimmyg...@gmail.com> wrote:
> 
> LOL
> 
> It pays to make no assumptions about folks one meets online (in forums, 
> Twitter, etc.)
> 
> Rick Kline
> Data Manager (ret.) <-- !
> Spacecraft Planetary Imaging Facility, Cornell University <-- !!!!
> 
> Indeed :-)
> 
> I followed Stave Liam's method and it does mostly work (using Emily 
> Lakdawalla's test image I saw mostly what she sees in her Photoshop process 
> though there is "missing" data--you'll see what I mean if you do this). 
> Biggest issue is that GIMP, as she says, makes assumptions about data 
> encoding and the only options in the GIMP open dialog where you specify 
> information about the image provides no options that seem relevant to the way 
> the data is encoded in the .img file.
> 
> Liam mentions G'MIC and you may have more success there. It, like GIMP, is 
> free and, more importantly, it has far more options related to image data 
> content (it's written by imaging data scientists for use in manipulating 
> scientific image data). And it's scriptable already! A steep learning curve 
> for someone like me with no background in such things, but for you and your 
> background it may be just what you're looking for (and I can attest that 
> G'MIC developers are veyr nice people who are approachable if you have 
> questions). If you're comfortable with a command line (and I can't imagine 
> you are not given your background) G'MIC may save you a fair bit of time.
> 
> Regards,
> 
> GuyS
> 
> Guy Stalnaker
> jimmyg...@gmail.com <mailto:jimmyg...@gmail.com>
> 
> On Wed, Jan 30, 2019 at 12:18 PM Rick Kline <r...@kline.ms 
> <mailto:r...@kline.ms>> wrote:
> Thanks, Liam,
> 
> I like the “change the file type” method best, because there’s no messing 
> with the contents. Easy enough to find header size (offset) - look at the 
> file info, Lines x Samples x bytes (16 bit image = 2 bytes). Subtract result 
> from actual file size and you have the header size.
> 
> In PDS images, the ^image (“hat image”) parameter tells what byte the image 
> starts on. I used to use that in P’shop when importing uncompressed (.img) 
> PDS images. Even wrote some scripts for P’shop and NIH Image (now Image J) to 
> import Viking Orbiter, Viking Lander, and Magellan images that used ^image. 
> Those scripts are probably long gone, and I’m retired from the Astro job. May 
> have to contact my also retired work friend known as Dr. Bithead to get some 
> help with script writing for GIMP.
> 
> I’ll give the .data trick a try.
> 
> Best,
> 
> Rick Kline
> Data Manager (ret.)
> Spacecraft Planetary Imaging Facility, Cornell University
> 
>  * * ** *** ***** ******** ************* ********************* 
> It’s better to wave at a stranger than to ignore a friend
>  * * ** *** ***** ******** ************* ********************* 
> 
> 
> 
> > On Jan 29, 2019, at 9:42 PM, Liam R E Quin <l...@holoweb.net 
> > <mailto:l...@holoweb.net>> wrote:
> > 
> > On Tue, 2019-01-29 at 11:43 -0500, Rick Kline wrote:
> >> Hi,
> >> 
> >> Some folks working with planetary data would like to use raw PDS 
> > 
> > http://areo.info/gimp/ <http://areo.info/gimp/> may help. It needs to be 
> > updated to handle 16-
> > bit images now that GIMP can open them.
> > 
> > it’s also possible to use ImageMagick or g'mic to conver the VICAR/PDS
> > raw images to PNG, although you may need to use a hex (or octal) editor
> > to work out where the image starts exactly. You can also name the image
> > something.data and open it in GIMP, and the pop-up window will ask you
> > for an offest and the format.
> > 
> > Hope this helps,
> > 
> > slave liam
> > 
> > 
> > -- 
> > Liam Quin - web slave for https://www.fromoldbooks.org/ 
> > <https://www.fromoldbooks.org/>
> > with fabulous vintage art and fascinating texts to read.
> > Click here to have the slave beaten.
> > 
> 
> _______________________________________________
> gimp-user-list mailing list
> List address:    gimp-user-list@gnome.org <mailto:gimp-user-list@gnome.org>
> List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list 
> <https://mail.gnome.org/mailman/listinfo/gimp-user-list>
> List archives:   https://mail.gnome.org/archives/gimp-user-list 
> <https://mail.gnome.org/archives/gimp-user-list>
_______________________________________________
gimp-user-list mailing list
List address:    gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list

Reply via email to