<br><br><div><span class="gmail_quote">2007/11/3, Paweł Marciniak <<a href="mailto:pave@o2.pl">pave@o2.pl</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi there,<br><br>After Gilles' post (around June) recommending storing images in png format,<br>I switched to it entirely. I collected my photos, added captions etc. Now I<br>want to upload them to a web gallery, which only accepts jpegs. However,
<br>after a batch conversion to jpeg, some of the photos lost their metadata<br>completely. During the conversion, a dialog is shown for each photo,<br>saying "Cannot run properly 'convert' program from 'ImageMagick' package"
<br>and the console displays:<br>digikam: WARNING: Convert exit (0)<br><br>When investigating this issue I found out that when I add a caption in<br>digiKam, it doesn't throw any error, but the console says:<br>Cannot save metadata using Exiv2  (Setting Image comment in PNG images is
<br>not supported).</blockquote><div><br>Exiv2 do not support yet PNG metadata for writting. Patch still uncomplete on my computer.<br><br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 The added caption is shown by digiKam, but maybe it is<br>stored only in digiKam database?</blockquote><div><br><br>yes, Caption, date, rating, and tags are store in digiKam database.<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
When converting manually with convert, no error is raised, but when I try to<br>view the converted image in digiKam, no metadata is shown at all.</blockquote><div><br>Exif and iptc ??? Impossible (:=))). All my photo collection are in PNG (taken originally from JPEG or RAW), and metadata still present of course. 
<br><br>Witch camera you use ? Can you send me a JPEG file taken with your camera to test. How are you converted your JPEG files to PNG ? Using Camera interface during download ?<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm using digiKam 0.9.3-beta1 with Exiv2 0.14 and KExiv2 0.1.6.<br><br>Does anyone have an idea on how I can convert hundreds my photos to jpeg and<br>preserve all the metadata and captions I spent so much time adding?
</blockquote><div><br>convert from imagemagick is the better way. I simple script with a loop to process all current files is enough. <br><br>But it sound like a problem in your imagemagick... Witch version you use ?<br> 
</div></div>Gilles Caulier<br>