Post Reply 

Reading raw image data (not "camera RAW")

Nov 23, 2011, 16:05
Post: #1
Reading raw image data (not "camera RAW")
Is it possible to read raw image data into Gimp? By raw, I mean image data without a header or compression, i.e., RGB, 16-bit unsigned, or 32-bit floating point grayscale, etc.

I see "Raw image data" under "Open > Select File Type", but grayscale isn't listed. Is the only option? Are there any add-ons for grayscale?

(Thanks to camera manufacturers naming their formats "RAW," it's difficult to google anything meaningful on this topic.)
Find all posts by this user
Quote this message in a reply
Nov 23, 2011, 17:27 (This post was last modified: Nov 23, 2011 17:28 by ofnuts.)
Post: #2
RE: Reading raw image data (not "camera RAW")
Define "raw"... how would Gimp guess:
- size in pixels
- perhaps number of layers
- number of channels 1? 2? 3? 4?
- representation of the channels: separate images (RRRRRRRRR,GGGGGGGGGG,BBBBBBBBB) or interleaved (RGB,RGB,RGB,RGB,RGB,RGB,RGB,RGB,RGB,)
- number representation of the channels for a pixel (number of bits if integer, otherwise floating-point format, endianness...)

By the time you have answered all the questions, you find that using a standard image format may just require adding a small header to your data.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Nov 23, 2011, 18:05
Post: #3
RE: Reading raw image data (not "camera RAW")
I'm familiar with defining the format of the raw data; I just want to know if there's a way to do so for Gimp, officially or unofficially.
Find all posts by this user
Quote this message in a reply
Nov 23, 2011, 21:49
Post: #4
RE: Reading raw image data (not "camera RAW")
Well, actually you can:

- File/Open
- At the bottom of the dialog, select "Raw image data" (not "raw image")
- Then try to guess the right answers in the next dialog

It seems to only support one byte/channel.

My suggestion to transform your raw data into some simplistic standard format such as TGA or BMP by adding a simple header still holds.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  How to remove shaky camera ghost image? ianpwilliams 4 1,268 Aug 12, 2017 13:47
Last Post: Elizabeeth
  How to extend an Image from side to side softening the hard edge of image Flesh 2 114 Jul 21, 2017 06:21
Last Post: Flesh
  Image Quality Degradation Issue dedoubleu 2 163 Jun 7, 2017 06:37
Last Post: ythgilb
  Losing image quality Futant 2 208 Oct 10, 2014 16:07
Last Post: rich2005
  Help with adding image to gif Mandzukic 2 269 Sep 18, 2014 19:21
Last Post: Mandzukic

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS