<br><br><div><span class="gmail_quote">2007/11/5, Paweł Marciniak <<a href="mailto:pave@o2.pl" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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;">

Thank you Gilles for replying!<br><br>Gilles Caulier wrote:<br>> Exiv2 do not support yet PNG metadata for writting. Patch still uncomplete<br>> on my computer.<br>> [...]<br>> yes, Caption, date, rating, and tags are store in digiKam database.
<br><br>I see. Is there a way (it may even involve some hacking) to retrieve the<br>captions from db and embed them in jpeg files? Otherwise it's A LOT of<br>rewriting for me :(</blockquote><div><br>But al is always done by digiKam. Are you sure to have set on right right options in Metadata setup dialog page ?
<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
<br>>> to<br>>> view the converted image in digiKam, no metadata is shown at all.<br>><br>> Exif and iptc ??? Impossible (:=))). All my photo collection are in PNG<br>> (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<br>> to test. How are you converted your JPEG files to PNG ? Using Camera<br>> interface during download ?<br><br>Yes, there's nothing after opening the photo in digiKam (display(1),
<br>however, sees exif metadata in the jpeg, but not iptc). I found out that<br>the digiKam console says:<br><br>8<-------------------------------------<br>Warning: IPTC dataset Iptc.Application2.Preview has invalid size 67904;
<br>skipped.</blockquote><div><br>This is the problem. Preview (an embeded and reduced JPEG image) is set by digiKam in IPTC to speed up preview loading (F4).<br><br>problem is than preview IPTC can be larger than 64Kb (see iptc/iim paper) and a jpeg section (used to embeded iptc in jpeg file) is limited to 64Kb. Ther eis no size limitattion with PNG (or TIFF)
<br><br>I have already fixed the problem in digiKam core, Exiv2 but not yet in kipi-plugins. Of course i will do it.<br><br>Note : it's originally a problem of imagemagick wich trunk whole iptc if size is over 64 kb during PNG=>JPEG (or TIFF=>JPEG)
<br><br>Please make a file in bugzilla, in kipi-plugins/BatchProcess component. Thanks in advance<br><br>Gilles</div></div><br>