RSS/Atom feed Twitter
Site is read-only, email is disabled

opening binary flat files

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.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

12 of 12 messages available
Toggle history

Please log in to manage your subscriptions.

opening binary flat files mintakax 01 Feb 19:54
  opening binary flat files mintakax 01 Feb 19:56
  opening binary flat files Chris Mohler 01 Feb 20:09
  opening binary flat files GSR - FR 01 Feb 20:32
  opening binary flat files Owen 01 Feb 20:39
  opening binary flat files "Ville P 01 Feb 20:54
   opening binary flat files GSR - FR 01 Feb 21:24
    opening binary flat files Patrick Horgan 02 Feb 02:34
     opening binary flat files GSR - FR 02 Feb 03:02
      opening binary flat files mintakax 02 Feb 17:57
       opening binary flat files mintakax 02 Feb 18:01
        opening binary flat files Noel Stoutenburg 02 Feb 18:21
2011-02-01 19:54:11 UTC (almost 14 years ago)
postings
4

opening binary flat files

I often use photoshop to open binary flat files, either 8 or 16 bit depth. In photoshop if I select open using photoshop raw format, a dialog box pops up asking what the image dimensions are (ie, 512x512), the number of channels (ie 1), the bit depth and the byte order. Is there any way to do this in GIMP, either native or with plugins... I dont think that the UFRaw will work as these files do not come from a camera-- they are images of satellite imagery that are just binary flat files.

Thanks, Dan

2011-02-01 19:56:08 UTC (almost 14 years ago)
postings
4

opening binary flat files

I often use photoshop to open binary flat files, either 8 or 16 bit depth. In photoshop if I select open using photoshop raw format, a dialog box pops up asking what the image dimensions are (ie, 512x512), the number of channels (ie 1), the bit depth and the byte order. Is there any way to do this in GIMP, either native or with plugins... I dont think that the UFRaw will work as these files do not come from a camera-- they are images of satellite imagery that are just binary flat files.

Thanks,
Dan

PS-- I'm on a Redhat Linux system

Chris Mohler
2011-02-01 20:09:12 UTC (almost 14 years ago)

opening binary flat files

On Tue, Feb 1, 2011 at 1:54 PM, mintakax wrote:

they are images of satellite imagery that are just binary flat files.

Can you upload an example image somewhere, or is there a link?

Chris

GSR - FR
2011-02-01 20:32:22 UTC (almost 14 years ago)

opening binary flat files

Hi,
forums@gimpusers.com (2011-02-01 at 2054.11 +0100):

I often use photoshop to open binary flat files, either 8 or 16 bit depth. In photoshop if I select open using photoshop raw format, a dialog box pops up asking what the image dimensions are (ie, 512x512), the number of channels (ie 1), the bit depth and the byte order.
Is there any way to do this in GIMP, either native or with plugins... I dont think that the UFRaw will work as these files do not come from a camera-- they are images of satellite imagery that are just binary flat files.

GIMP PDB shows file-raw-load & file-raw-save. How to get them to do something... that is a different question, the "new" file dialog seems to be missing any reference to raw files. Try showing all file types, then loading one with a non matching file extension (in old versions you would be able to pick any file and then force the loader to use, IIRC). Or maybe use script-fu console to popup the loader options.

GSR

Owen
2011-02-01 20:39:39 UTC (almost 14 years ago)

opening binary flat files

I often use photoshop to open binary flat files, either 8 or 16 bit depth. In photoshop if I select open using photoshop raw format, a dialog box pops up asking what the image dimensions are (ie, 512x512), the number of channels (ie 1), the bit depth and the byte order. Is there any way to do this in GIMP, either native or with plugins... I dont think that the UFRaw will work as these files do not come from a camera-- they are images of satellite imagery that are just binary flat files.

What is the output of the file command?

# file

Does "identify" from imageMagick give any output?

"Ville P
2011-02-01 20:54:23 UTC (almost 14 years ago)

opening binary flat files

On Tue, Feb 01, 2011 at 08:54:11PM +0100, mintakax wrote:

I often use photoshop to open binary flat files, either 8 or 16 bit depth. In photoshop if I select open using photoshop raw format, a dialog box pops up asking what the image dimensions are (ie, 512x512), the number of channels (ie 1), the bit depth and the byte order.

It's the same in GIMP. Since raw data can't really be autodetected you need to select "raw image data" as the file type in the File open dialog.

GSR - FR
2011-02-01 21:24:19 UTC (almost 14 years ago)

opening binary flat files

Hi,
drc@shadowdrama.net (2011-02-01 at 2254.23 +0200):

On Tue, Feb 01, 2011 at 08:54:11PM +0100, mintakax wrote:

I often use photoshop to open binary flat files, either 8 or 16 bit depth. In photoshop if I select open using photoshop raw format, a dialog box pops up asking what the image dimensions are (ie, 512x512), the number of channels (ie 1), the bit depth and the byte order.

It's the same in GIMP. Since raw data can't really be autodetected you need to select "raw image data" as the file type in the File open dialog.

Ooops, right... yet another reminder of why I hate interfaces that hide and forget you opened the "|>". I just noticed the selector now, different than the filtering one.

GSR

Patrick Horgan
2011-02-02 02:34:43 UTC (almost 14 years ago)

opening binary flat files

On 02/01/2011 01:24 PM, GSR - FR wrote:

... elision by patrick ...
Ooops, right... yet another reminder of why I hate interfaces that hide and forget you opened the "|>". I just noticed the selector now, different than the filtering one.

If the data has an extension of .data on the file name is it automatically detected?

Patrick

GSR - FR
2011-02-02 03:02:53 UTC (almost 14 years ago)

opening binary flat files

Hi,
phorgan1@yahoo.com (2011-02-01 at 1834.43 -0800):

On 02/01/2011 01:24 PM, GSR - FR wrote:

... elision by patrick ...
Ooops, right... yet another reminder of why I hate interfaces that hide and forget you opened the "|>". I just noticed the selector now, different than the filtering one.

If the data has an extension of .data on the file name is it automatically detected?

The hidden list shows no extension(s) for raw and ".data" files are not shown when the other selector is set to "All images", so I doubt. You will probably have to open the dialog, change the filter to show all files as well as pick RAW from the other list, then select the file. Yes, it sounds repetitive and the forced format option seems to be always closed and forgotten (tried it with PNGs). I also tried drag and drop with random file named "foo.data", it caused an error.

GSR

2011-02-02 17:57:24 UTC (almost 14 years ago)
postings
4

opening binary flat files

Hi,
phorgan1@yahoo.com (2011-02-01 at 1834.43 -0800):

On 02/01/2011 01:24 PM, GSR - FR wrote:

... elision by patrick ...
Ooops, right... yet another reminder of why I hate interfaces that hide and forget you opened the "|>". I just noticed the selector now, different than the filtering one.

If the data has an extension of .data on the file name is it automatically detected?

The hidden list shows no extension(s) for raw and ".data" files are not shown when the other selector is set to "All images", so I doubt. You will probably have to open the dialog, change the filter to show all files as well as pick RAW from the other list, then select the file. Yes, it sounds repetitive and the forced format option seems to be always closed and forgotten (tried it with PNGs). I also tried drag and drop with random file named "foo.data", it caused an error.

GSR

Thanks for all the replies ! When I pick All Files and then activate the Select File Type, the drop down list does not contain a "RAW".. the list is alphabetical and PostScript document is followed by Scalable Graphic IRIS image ? The GIMP we have installed is 2.2.33 is this an old rev ? And to answer a previous question, the results of the file command for these files I am trying to open is: data

2011-02-02 18:01:00 UTC (almost 14 years ago)
postings
4

opening binary flat files

Hi,
phorgan1@yahoo.com (2011-02-01 at 1834.43 -0800):

On 02/01/2011 01:24 PM, GSR - FR wrote:

... elision by patrick ...
Ooops, right... yet another reminder of why I hate interfaces that hide and forget you opened the "|>". I just noticed the selector now, different than the filtering one.

If the data has an extension of .data on the file name is it automatically detected?

The hidden list shows no extension(s) for raw and ".data" files are not shown when the other selector is set to "All images", so I doubt. You will probably have to open the dialog, change the filter to show all files as well as pick RAW from the other list, then select the file. Yes, it sounds repetitive and the forced format option seems to be always closed and forgotten (tried it with PNGs). I also tried drag and drop with random file named "foo.data", it caused an error.

GSR

Thanks for all the replies ! When I pick All Files and then activate the Select File Type, the drop down list does not contain a "RAW".. the list is alphabetical and PostScript document is followed by Scalable Graphic IRIS image ? The GIMP we have installed is 2.2.33 is this an old rev ? And to answer a previous question, the results of the file command for these files I am trying to open is: data

Sorry mistype-- the rev is 2.2.13

Noel Stoutenburg
2011-02-02 18:21:50 UTC (almost 14 years ago)

opening binary flat files

mintakax wrote:

Sorry mistype-- the rev is 2.2.13 ... is this an old rev ?

Yes. Latest version is 2.6.11

ns