Re: [Gimp-user] opening binary flat files

2011-02-01 Thread Chris Mohler
On Tue, Feb 1, 2011 at 1:54 PM, mintakax for...@gimpusers.com 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
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] opening binary flat files

2011-02-01 Thread GSR - FR
Hi,
for...@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
 
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] opening binary flat files

2011-02-01 Thread Owen
 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 raw_image

Does identify from imageMagick give any output?


-- 
Owen

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] opening binary flat files

2011-02-01 Thread Ville P├Ątsi
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.

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] opening binary flat files

2011-02-01 Thread GSR - FR
Hi,
d...@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
 
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] opening binary flat files

2011-02-01 Thread Patrick Horgan
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

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] opening binary flat files

2011-02-01 Thread GSR - FR
Hi,
phorg...@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
 
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user