after using gimp dk can´t open image.

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

after using gimp dk can´t open image.

Rinus
After I used gimp dk will not open my image, gwenview can. Is this a
known problem?
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: after using gimp dk can´t open image.

Philip Johnsson
Never happened to me. You haven't saved the gimp image in a way that
Digikam somehow thinks it's an older version of the same image and
hides it?

/Philip


On Sun, Oct 30, 2011 at 12:31 PM, sleepless <[hidden email]> wrote:
> After I used gimp dk will not open my image, gwenview can. Is this a known
> problem?
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: after using gimp dk can´t open image.

Gilles Caulier-4
No problem for me too. I manage a lots of images like this. It work perfectly...

Gilles Caulier

2011/10/30 Philip Johnsson <[hidden email]>:

> Never happened to me. You haven't saved the gimp image in a way that
> Digikam somehow thinks it's an older version of the same image and
> hides it?
>
> /Philip
>
>
> On Sun, Oct 30, 2011 at 12:31 PM, sleepless <[hidden email]> wrote:
>> After I used gimp dk will not open my image, gwenview can. Is this a known
>> problem?
>> _______________________________________________
>> Digikam-users mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-users
>>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: after using gimp dk can´t open image.

Jean-François Rabasse
In reply to this post by Rinus

On Sun, 30 Oct 2011, sleepless wrote:

> Date: Sun, 30 Oct 2011 12:31:55 +0100
> From: sleepless <[hidden email]>
> Subject: [Digikam-users] after using gimp dk can´t open image.
>
> After I used gimp dk will not open my image, gwenview can.
> Is this a known problem?

At least, it's a problem I know and had many times in the past.
Seems to be related to images files metadata and the way applications
use that data, and "what idea" they have of what could be valid or not.
Clearly, Gimp and Digikam haven't the same "idea" of validity.

I discovered the problem, not with digital photographs, but with JPEG
images coming from digitized artwork.

(Briefly, I'm amateur photographer and also amateur drawer / painter,
and I use DK to manage my genuine photos from digital cameras and also
scanned versions of my drawings.)

When I scan drawings, I always use Gimp to process the scanner output.
(Mostly because the Gimp/Xsane interface is great, and also because
I only own a small A4 flatbed scanner and drawing paper formats are
larger than A4, so I need to scan in multiple parts then reassemble.)

The final JPEG file I get, after processing, have a simple Exif section
made by Gimp which contains only the image preview (i.e. a dummy Exif IFD0,
an Exif IFD1 with preview size and offset, nothing else).
Obviously, no digital camera Exif info (focal length, aperture et al.),
and no other metadata informations, XMP or IPTC records.
(Gimp also adds a JFIF head section in the final file.)

And what I've observed is that all this seems to mystify Digikam.
Don't know why but...
As for Gwenview, same results as you get, Gwenview opens the image file.
But Gwenview doesn't care of metadata records so, as long as the "pure"
image sections of the JPEG file (DQT, DHT, SOF, SOS...) are valid, the
image is displayed.

Probably, your problem isn't related to digitized drawings or sketchs,
but digital photos ?
But it could be a similar problem of metadata organisation and content.
Maybe if DK finds a Exif header, but lacking some fundamental
(or supposed to be) information, it stucks or considers as a corrupted
header or file ? DK developpers involved in the metadata processing
could probably answer ?

I don't know a general solution, working with all applications.

As for me, as I really needed a working solution for scanned material,
I solved my above problem the following way :
- remove from my JPEG files of scanned material the Exif section.
   (I really don't care about an embedded image preview)
- tag my file by writing metadata in the XMP Dublin Core fields,
   xmp.dc.title, xmp.dc.description and xmp.dc.date
   (The date is important for scanned artwork, it's not like a photo.
   One should set the realisation date, not the scan job date.)

With that, DK opens the JPEG image and seems to be happy. And gets the
xmp.dc info so that I have a correct Caption, from xmp.dc.description,
and a correct date.

I'm not sure my problem and above solution can help you, but maybe you
should try to remove all metadata from the images DK refuses to open
(use any exiftool, exiv2, or even "convert -strip ..."), and rescan
your images directory with DK, as if it were fresh new JPEG without any
metadata.

I happened to do that once, with a genuine digital photo but with a
corrupted Exif header (or, most probably, not fully standard compliant
Exif header; it came from a Sony camera).
Juste removing Exif header made DK open the photo without problems,
of course, without focal length, aperture, shutter speed info...


Jean-François
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: after using gimp dk can´t open image.

AT Ege
In reply to this post by Rinus
Hello,


Am 30.10.2011 11:31, schrieb sleepless:
> After I used gimp dk will not open my image, gwenview can. Is this a
> known problem?
No problem here, just tried (again), and never been a problem before.
digikam 2.1.1, gimp 2.7.2

> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>

--
Andreas Ege

                24 The Birches
                 Shobdon
                 Herefordshire HR6 9NG
                 GB
                 Mobile: +44.(0)7526.315292
                 Tel.: +44.(0)1568.709166
                 http://spheniscid.net
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: after using gimp dk can´t open image.

Rinus
In reply to this post by Jean-François Rabasse
Thank you Jean-François,

Your observation and explanation is as always detailed, precise and right. As a work around I save my Gimp image as PNG, just good to know that it is not a private problem.
Best regards,
Rinus
Op 30-10-11 15:03, Jean-François Rabasse schreef:

On Sun, 30 Oct 2011, sleepless wrote:

Date: Sun, 30 Oct 2011 12:31:55 +0100
From: sleepless [hidden email]
Subject: [Digikam-users] after using gimp dk can´t open image.

After I used gimp dk will not open my image, gwenview can.
Is this a known problem?

At least, it's a problem I know and had many times in the past.
Seems to be related to images files metadata and the way applications
use that data, and "what idea" they have of what could be valid or not.
Clearly, Gimp and Digikam haven't the same "idea" of validity.

I discovered the problem, not with digital photographs, but with JPEG
images coming from digitized artwork.

(Briefly, I'm amateur photographer and also amateur drawer / painter,
and I use DK to manage my genuine photos from digital cameras and also
scanned versions of my drawings.)

When I scan drawings, I always use Gimp to process the scanner output.
(Mostly because the Gimp/Xsane interface is great, and also because
I only own a small A4 flatbed scanner and drawing paper formats are
larger than A4, so I need to scan in multiple parts then reassemble.)

The final JPEG file I get, after processing, have a simple Exif section
made by Gimp which contains only the image preview (i.e. a dummy Exif IFD0,
an Exif IFD1 with preview size and offset, nothing else).
Obviously, no digital camera Exif info (focal length, aperture et al.),
and no other metadata informations, XMP or IPTC records.
(Gimp also adds a JFIF head section in the final file.)

And what I've observed is that all this seems to mystify Digikam.
Don't know why but...
As for Gwenview, same results as you get, Gwenview opens the image file.
But Gwenview doesn't care of metadata records so, as long as the "pure"
image sections of the JPEG file (DQT, DHT, SOF, SOS...) are valid, the
image is displayed.

Probably, your problem isn't related to digitized drawings or sketchs,
but digital photos ?
But it could be a similar problem of metadata organisation and content.
Maybe if DK finds a Exif header, but lacking some fundamental
(or supposed to be) information, it stucks or considers as a corrupted
header or file ? DK developpers involved in the metadata processing
could probably answer ?

I don't know a general solution, working with all applications.

As for me, as I really needed a working solution for scanned material,
I solved my above problem the following way :
- remove from my JPEG files of scanned material the Exif section.
  (I really don't care about an embedded image preview)
- tag my file by writing metadata in the XMP Dublin Core fields,
  xmp.dc.title, xmp.dc.description and xmp.dc.date
  (The date is important for scanned artwork, it's not like a photo.
  One should set the realisation date, not the scan job date.)

With that, DK opens the JPEG image and seems to be happy. And gets the
xmp.dc info so that I have a correct Caption, from xmp.dc.description,
and a correct date.

I'm not sure my problem and above solution can help you, but maybe you
should try to remove all metadata from the images DK refuses to open
(use any exiftool, exiv2, or even "convert -strip ..."), and rescan
your images directory with DK, as if it were fresh new JPEG without any metadata.

I happened to do that once, with a genuine digital photo but with a corrupted Exif header (or, most probably, not fully standard compliant
Exif header; it came from a Sony camera).
Juste removing Exif header made DK open the photo without problems,
of course, without focal length, aperture, shutter speed info...


Jean-François
_______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: after using gimp dk can´t open image.

Jean-François Rabasse

On Mon, 31 Oct 2011, sleepless wrote:

> Date: Mon, 31 Oct 2011 09:38:26 +0100
> From: sleepless <[hidden email]>
> Subject: Re: [Digikam-users] after using gimp dk can´t open image.

> Your observation and explanation is as always detailed, precise and right.
> As a work around I save my Gimp image as PNG, just good to know that it is
> not a private problem.

Yes but, you loose all your photographic metadata, don't you ?

An alternative could be to :
  - keep your original file, let's say ORG.jpg
  - edit with Gimp and save your work in a new file, NEW.jpg
  - restore all your original Exif data with a command line tool, e.g.

    exiftool -all= -tagsFromFile ORG.jpg -exif:all NEW.jpg

and you're done, and DK should accept your NEW.jpg file because it has
a full valid Exif section.

(Probably the same could be done with command line evix2 but I don't know
the invocation syntax, exiv2 users could help.)

Of course, the problem isn't your private problem, it's the everyday
nightmare of all people that handle non strictly photographic images,
as scanned artwork files or other...
"Sell all pencils and paper on eBay and buy a digital camera, or die !" :-)

The problem comes from the way metadata standards are defined. Data formats
are described in a very accurate way, data semantics are ... hum ... a bit
less accurate, or a bit more impressionist, and data organisation is always
a desert.
So, images application software do what they wish or believe is right,
and each softare believes in its own way.
When you start to mix, you loose or destroy things !

Jean-François

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: after using gimp dk can´t open image.

John Bestevaar
 Hi Jean-François
I very much agree with your remarks on the subject of images metadata.
It is a crime against humanity that no one wants to adhere to or agree on, a limited set of standards for this metadata.
I blame the government for this, any and all  government. They dont care about images and associated copyright in the same way as for text.
John Bestevaar

On 31/10/11 20:52, Jean-François Rabasse wrote:

On Mon, 31 Oct 2011, sleepless wrote:

Date: Mon, 31 Oct 2011 09:38:26 +0100
From: sleepless [hidden email]
Subject: Re: [Digikam-users] after using gimp dk can´t open image.

Your observation and explanation is as always detailed, precise and right.
As a work around I save my Gimp image as PNG, just good to know that it is
not a private problem.

Yes but, you loose all your photographic metadata, don't you ?

An alternative could be to :
 - keep your original file, let's say ORG.jpg
 - edit with Gimp and save your work in a new file, NEW.jpg
 - restore all your original Exif data with a command line tool, e.g.

   exiftool -all= -tagsFromFile ORG.jpg -exif:all NEW.jpg

and you're done, and DK should accept your NEW.jpg file because it has
a full valid Exif section.

(Probably the same could be done with command line evix2 but I don't know
the invocation syntax, exiv2 users could help.)

Of course, the problem isn't your private problem, it's the everyday
nightmare of all people that handle non strictly photographic images,
as scanned artwork files or other...
"Sell all pencils and paper on eBay and buy a digital camera, or die !" :-)

The problem comes from the way metadata standards are defined. Data formats
are described in a very accurate way, data semantics are ... hum ... a bit
less accurate, or a bit more impressionist, and data organisation is always a desert.
So, images application software do what they wish or believe is right, and each softare believes in its own way.
When you start to mix, you loose or destroy things !

Jean-François

    

_______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users