Sign up now! · Forgot password?
RSS/Atom feed Twitter

Opening raw images in GIMP

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

6 of 8 messages available
Toggle history

Please log in to manage your subscriptions.

CANRfBYhCFJm5m3ENJcxaWg_ujE... 29 Jan 16:49
  Opening raw images in GIMP Rick Kline 29 Jan 16:43
   DM6PR10MB2826CF47B7DBC1D077... 30 Jan 01:28
    Opening raw images in GIMP Rick Kline 30 Jan 01:27
   Opening raw images in GIMP Liam R E Quin 30 Jan 02:42
    Opening raw images in GIMP Rick Kline 30 Jan 18:18
     Opening raw images in GIMP Guy Stalnaker via gimp-user-list 30 Jan 18:44
      Opening raw images in GIMP Rick Kline 30 Jan 19:14
Rick Kline
2019-01-29 16:43:16 UTC (6 months ago)

Opening raw images in GIMP

Hi,

Some folks working with planetary data would like to use raw PDS (NASA’s Planetary Data System) image files in GIMP. Here’s a link to opening uncompressed .img files in P’shop. Could someone suggest a comparable GIMP workflow? Thanks.

http://www.planetary.org/blogs/emily-lakdawalla/2018/0307-image-processing-trick-raw-photoshop.html

Rick Kline

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

Rick Kline
2019-01-30 01:27:45 UTC (6 months ago)

Opening raw images in GIMP

I’ve installed RawTherapee, but don’t know how to open up the image in question there, either. It doesn’t show up in the file browser - only jpegs do.

Why do you want to stop any and all email from me?

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

On Jan 29, 2019, at 6:15 PM, Terry Cooper wrote:

How do I stop any and all email from you please.

From: gimp-user-list > on behalf of Rick Kline > Sent: January 29, 2019 12:43 PM
To: gimp-user-list@gnome.org
Subject: [Gimp-user] Opening raw images in GIMP
Hi,

Some folks working with planetary data would like to use raw PDS (NASA’s Planetary Data System) image files in GIMP. Here’s a link to opening uncompressed .img files in P’shop. Could someone suggest a comparable GIMP workflow? Thanks.

http://www.planetary.org/blogs/emily-lakdawalla/2018/0307-image-processing-trick-raw-photoshop.html >

Rick Kline

* * ** *** ***** ******** ************* ********************* It’s better to wave at a stranger than to ignore a friend * * ** *** ***** ******** ************* ********************* _______________________________________________ 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

Liam R E Quin
2019-01-30 02:42:44 UTC (6 months ago)

Opening raw images in GIMP

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/ 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/
with fabulous vintage art and fascinating texts to read.
Click here to have the slave beaten.
Rick Kline
2019-01-30 18:18:25 UTC (6 months ago)

Opening raw images in GIMP

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 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/ 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/ with fabulous vintage art and fascinating texts to read. Click here to have the slave beaten.

Guy Stalnaker via gimp-user-list
2019-01-30 18:44:22 UTC (6 months ago)

Opening raw images in GIMP

LOL

It pays to make no assumptions about folks one meets online (in forums, Twitter, etc.)

Rick Kline
Data Manager (ret.) 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 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/ 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/ 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 List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list

Rick Kline
2019-01-30 19:14:23 UTC (6 months ago)

Opening raw images in GIMP

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 wrote:

LOL

It pays to make no assumptions about folks one meets online (in forums, Twitter, etc.)

Rick Kline Data Manager (ret.)

On Wed, Jan 30, 2019 at 12:18 PM Rick Kline > 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 > 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/ 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/ 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 List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list