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

Cannot decode a Raw file from Pentax machine

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.

8 of 8 messages available
Toggle history

Please log in to manage your subscriptions.

Cannot decode a Raw file from Pentax machine antonio montagnani 12 Dec 22:23
  Cannot decode a Raw file from Pentax machine Partha Bagchi 12 Dec 22:35
   Cannot decode a Raw file from Pentax machine antonio montagnani 12 Dec 23:19
    Cannot decode a Raw file from Pentax machine Michael Schumacher 12 Dec 23:22
     Cannot decode a Raw file from Pentax machine antonio montagnani 12 Dec 23:29
      Cannot decode a Raw file from Pentax machine Michael Schumacher 12 Dec 23:55
       Cannot decode a Raw file from Pentax machine antonio montagnani 13 Dec 10:45
    Cannot decode a Raw file from Pentax machine Partha Bagchi 12 Dec 23:35
antonio montagnani
2014-12-12 22:23:06 UTC (over 10 years ago)

Cannot decode a Raw file from Pentax machine

In the past The Gimp+Ufraw worked fine, I could open a raw file from my Pentax reflex with no issue, suddenly one year ago when I try to open, it doesn't work, I get a window importing from TIFF and another window-TIFF directory is missing required "ImageLength" field. A friend found out this workaround:

whith 0.19.2-6 version installed edit the .gimp-2.8/pluginrc file in user home, search the lines

(load-proc (extension
"3fr,ari,arw,cap,cine,cr2,crw,cs1,dc2,dcr,dng,erf,fff,hdr,ia,iiq,jpeg,jpg,k25,kc2,kdc,mdc,mef,mos,mrw,nef,nrw,orf,pef,pxn,qtk,r3d,raf,raw,rdc,rw2,rwl,sr2,srf,srw,sti,tif,tiff,ufraw,x3f") (magic "0,string,II*\\0,0,string,MM\\0*,0,string,)

Of course any time that a new version of Gimp, I have to edit the pluginrc file.

Any idea?
Please see also:
https://bugzilla.redhat.com/show_bug.cgi?id=1015796

Tnx

Antonio M
Skype: amontag52

Linux Fedora F21 (Twenty one)
on Fujitsu Lifebook A512

http://lugsaronno.altervista.org
http://www.campingmonterosa.com
Partha Bagchi
2014-12-12 22:35:07 UTC (over 10 years ago)

Cannot decode a Raw file from Pentax machine

This has been happening for a while.

While opening your RAW images, don't rely on automatic detection, but select the long list of raw formats from the dropdown list and then open your image.

Hope that helps.

Partha

On Fri, Dec 12, 2014 at 5:23 PM, antonio montagnani wrote:

In the past The Gimp+Ufraw worked fine, I could open a raw file from my Pentax reflex with no issue, suddenly one year ago when I try to open, it doesn't work, I get a window importing from TIFF and another window-TIFF directory is missing required "ImageLength" field. A friend found out this workaround:

whith 0.19.2-6 version installed edit the .gimp-2.8/pluginrc file in user home, search the lines

(load-proc (extension
"3fr,ari,arw,cap,cine,cr2,crw,cs1,dc2,dcr,dng,erf,fff,hdr,ia,iiq,jpeg,jpg,k25,kc2,kdc,mdc,mef,mos,mrw,nef,nrw,orf,pef,pxn,qtk,r3d,raf,raw,rdc,rw2,rwl,sr2,srf,srw,sti,tif,tiff,ufraw,x3f") (magic "0,string,II*\\0,0,string,MM\\0*,0,string,)

Of course any time that a new version of Gimp, I have to edit the pluginrc file.

Any idea?
Please see also:
https://bugzilla.redhat.com/show_bug.cgi?id=1015796

Tnx --
Antonio M
Skype: amontag52

Linux Fedora F21 (Twenty one) on Fujitsu Lifebook A512

http://lugsaronno.altervista.org http://www.campingmonterosa.com

_______________________________________________ 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

antonio montagnani
2014-12-12 23:19:35 UTC (over 10 years ago)

Cannot decode a Raw file from Pentax machine

Partha Bagchi ha scrito il 12/12/2014 alle 23:35:

This has been happening for a while.

While opening your RAW images, don't rely on automatic detection, but select the long list of raw formats from the dropdown list and then open your image.

Hope that helps.

Partha

On Fri, Dec 12, 2014 at 5:23 PM, antonio montagnani wrote:

In the past The Gimp+Ufraw worked fine, I could open a raw file from my Pentax reflex with no issue, suddenly one year ago when I try to open, it doesn't work, I get a window importing from TIFF and another window-TIFF directory is missing required "ImageLength" field. A friend found out this workaround:

whith 0.19.2-6 version installed edit the .gimp-2.8/pluginrc file in user home, search the lines

(load-proc (extension
"3fr,ari,arw,cap,cine,cr2,crw,cs1,dc2,dcr,dng,erf,fff,hdr,ia,iiq,jpeg,jpg,k25,kc2,kdc,mdc,mef,mos,mrw,nef,nrw,orf,pef,pxn,qtk,r3d,raf,raw,rdc,rw2,rwl,sr2,srf,srw,sti,tif,tiff,ufraw,x3f") (magic "0,string,II*\\0,0,string,MM\\0*,0,string,)

Of course any time that a new version of Gimp, I have to edit the pluginrc file.

Any idea?
Please see also:
https://bugzilla.redhat.com/show_bug.cgi?id=1015796

Tnx --
Antonio M
Skype: amontag52

Linux Fedora F21 (Twenty one) on Fujitsu Lifebook A512

http://lugsaronno.altervista.org http://www.campingmonterosa.com

please read the full report in bugzilla in my previous post.There is only one option in the drop-down list and Gimp doesn't work as expected with the standard pluginrc file.
If I blacklist or delete this line:

(magic "0,string,II*\\0,0,string,MM\\0*,0,string,)

it works as expected

Antonio M
Skype: amontag52

Linux Fedora F21 (Twenty one)
on Fujitsu Lifebook A512

http://lugsaronno.altervista.org
http://www.campingmonterosa.com
Michael Schumacher
2014-12-12 23:22:13 UTC (over 10 years ago)

Cannot decode a Raw file from Pentax machine

On 13.12.2014 00:19, antonio montagnani wrote:

please read the full report in bugzilla in my previous post.There is only one option in the drop-down list and Gimp doesn't work as expected with the standard pluginrc file.
If I blacklist or delete this line:

(magic "0,string,II*\\0,0,string,MM\\0*,0,string,)

it works as expected

Please note that UFRaw is a third-party plug-in, and adding the magic is actually done from what the plug-in provides.

Is there a corresponding entry in the bug tracker of the UFRaw maintainers?

Regards,
Michael
GPG: 96A8 B38A 728A 577D 724D 60E5 F855 53EC B36D 4CDD
antonio montagnani
2014-12-12 23:29:32 UTC (over 10 years ago)

Cannot decode a Raw file from Pentax machine

Michael Schumacher ha scrito il 13/12/2014 alle 00:22:

On 13.12.2014 00:19, antonio montagnani wrote:

please read the full report in bugzilla in my previous post.There is only one option in the drop-down list and Gimp doesn't work as expected with the standard pluginrc file.
If I blacklist or delete this line:

(magic "0,string,II*\\0,0,string,MM\\0*,0,string,)

it works as expected

Please note that UFRaw is a third-party plug-in, and adding the magic is actually done from what the plug-in provides.

Is there a corresponding entry in the bug tracker of the UFRaw maintainers?

for my information, why does it work when such line is deleted? do you mean that bug is connected to ufraw-plugin (therefore to ufraw)??

tnx

Antonio M
Skype: amontag52

Linux Fedora F21 (Twenty one)
on Fujitsu Lifebook A512

http://lugsaronno.altervista.org
http://www.campingmonterosa.com
Partha Bagchi
2014-12-12 23:35:27 UTC (over 10 years ago)

Cannot decode a Raw file from Pentax machine

It works because, that is the header of a TIFF file as well. Open a tiff file and examine it to verify.

I provided you with a work around. Remember the magic is provided by UFRaw.

On Fri, Dec 12, 2014 at 6:19 PM, antonio montagnani wrote:

Partha Bagchi ha scrito il 12/12/2014 alle 23:35:

This has been happening for a while.

While opening your RAW images, don't rely on automatic detection, but select the long list of raw formats from the dropdown list and then open your image.

Hope that helps.

Partha

On Fri, Dec 12, 2014 at 5:23 PM, antonio montagnani wrote:

In the past The Gimp+Ufraw worked fine, I could open a raw file from my Pentax reflex with no issue, suddenly one year ago when I try to open, it doesn't work, I get a window importing from TIFF and another window-TIFF directory is missing required "ImageLength" field. A friend found out this workaround:

whith 0.19.2-6 version installed edit the .gimp-2.8/pluginrc file in user home, search the lines

(load-proc (extension

"3fr,ari,arw,cap,cine,cr2,crw,cs1,dc2,dcr,dng,erf,fff,hdr,ia,iiq,jpeg,jpg,k25,kc2,kdc,mdc,mef,mos,mrw,nef,nrw,orf,pef,pxn,qtk,r3d,raf,raw,rdc,rw2,rwl,sr2,srf,srw,sti,tif,tiff,ufraw,x3f") (magic "0,string,II*\\0,0,string,MM\\0*,0,string,)

Of course any time that a new version of Gimp, I have to edit the pluginrc
file.

Any idea?
Please see also:
https://bugzilla.redhat.com/show_bug.cgi?id=1015796

Tnx --
Antonio M
Skype: amontag52

Linux Fedora F21 (Twenty one) on Fujitsu Lifebook A512

http://lugsaronno.altervista.org http://www.campingmonterosa.com

please read the full report in bugzilla in my previous post.There is only one option in the drop-down list and Gimp doesn't work as expected with the standard pluginrc file.
If I blacklist or delete this line:

(magic "0,string,II*\\0,0,string,MM\\0*,0,string,)

it works as expected

-- Antonio M
Skype: amontag52

Linux Fedora F21 (Twenty one) on Fujitsu Lifebook A512

http://lugsaronno.altervista.org http://www.campingmonterosa.com

Michael Schumacher
2014-12-12 23:55:49 UTC (over 10 years ago)

Cannot decode a Raw file from Pentax machine

On 13.12.2014 00:29, antonio montagnani wrote:

for my information, why does it work when such line is deleted? do you mean that bug is connected to ufraw-plugin (therefore to ufraw)??

Yes. File plug-ins tell GIMP the magic numbers of the file formats they can handle. And this is when used to select the plug-in to handle a file format.

The magic number is a feature that allows to identify the file format - or at least guess it reasonably well. See https://en.wikipedia.org/wiki/Magic_number_%28programming%29 for more information about this.

Regards,
Michael
GPG: 96A8 B38A 728A 577D 724D 60E5 F855 53EC B36D 4CDD
antonio montagnani
2014-12-13 10:45:34 UTC (over 10 years ago)

Cannot decode a Raw file from Pentax machine

Michael Schumacher ha scrito il 13/12/2014 alle 00:55:

On 13.12.2014 00:29, antonio montagnani wrote:

for my information, why does it work when such line is deleted? do you mean that bug is connected to ufraw-plugin (therefore to ufraw)??

Yes. File plug-ins tell GIMP the magic numbers of the file formats they can handle. And this is when used to select the plug-in to handle a file format.

The magic number is a feature that allows to identify the file format - or at least guess it reasonably well. See https://en.wikipedia.org/wiki/Magic_number_%28programming%29 for more information about this.

I think that I am hit by this bug:

http://sourceforge.net/p/ufraw/bugs/392/

I suppose that modification has not yet hit the Fedora repos.

Antonio M
Skype: amontag52

Linux Fedora F21 (Twenty one)
on Fujitsu Lifebook A512

http://lugsaronno.altervista.org
http://www.campingmonterosa.com