Hi all,
I'm currently working to remove libKExif depency in digiKam core and use Exiv2 library instead. libKExif is used to get JPEG image thumbnails and get or set thumbs orientation using Exif informations. A digiKam part witch use libKExif is for example cameragui to render JPEG thumbnails. I have fixed this part using Exiv2 and during this task, i have found an indeep bug in libkexif (:=))) Let's me explain how to work libKexif : This library parse all raw Exif data to provides JPEG thumbs, using Qt internaly. All RAW Exif data are passed and decrypted by Qt. But during thumbnail extraction, QT change the thumb orientation. This change is wrong and do not respect the Exif orientation tag available with the RAW data. I don't know why and i suspect a bug in Qt. After that, digiKam fix thumbs orientation in a second time using Exif orientation tag... and finally the JPEG thumb is completly dummy. A solution about libkexif problem is to parse only thumb image data by Qt without others Exif informations... But this subject is out since digiKam will remove libKexif depency... (In others words, i have no more time to hack libKexif) When i have ported cameragui code to Exiv2, i have used an Exiv2 method to get only the thumbs image data without any orientation correction. In this way i can fix orientation without problems into digikam. To finalize my implementation i need to use some JPEG files comming from others camera (without any corrections please !). These images must be _VERTICALLY_ oriented with the camera turned to the _LEFT_, and to the _RIGHT_ (typically i need 2 images from one camera to complete my tests). Some digikam users can take and send me some JPEG pictures like this ? Thanks in advance. Gilles Caulier _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Am Montag, 27. März 2006 18:04 schrieb Gilles Caulier:
> To finalize my implementation i need to use some JPEG files comming from > others camera (without any corrections please !). These images must be > _VERTICALLY_ oriented with the camera turned to the _LEFT_, and to the > _RIGHT_ (typically i need 2 images from one camera to complete my tests). > > Some digikam users can take and send me some JPEG pictures like this ? > Thanks in advance. > > Gilles Caulier Good evening Gilles Ok, here are some vertical Jpegs (taken with Canon EOS 20D) http://www.daniel-bauer.com/gilles/IMG_0001.JPG http://www.daniel-bauer.com/gilles/IMG_0002.JPG http://www.daniel-bauer.com/gilles/IMG_0003.JPG http://www.daniel-bauer.com/gilles/IMG_0004.JPG This time really "clean" photos... ... just my nearest relatives :-) have a nice evening Daniel -- Daniel Bauer photographer Basel Switzerland professional photography: http://www.daniel-bauer.com special interest site: http://www.bauer-nudes.com _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Le Lundi 27 Mars 2006 08:03 PM, Daniel Bauer a écrit :
> Am Montag, 27. März 2006 18:04 schrieb Gilles Caulier: > > To finalize my implementation i need to use some JPEG files comming from > > others camera (without any corrections please !). These images must be > > _VERTICALLY_ oriented with the camera turned to the _LEFT_, and to the > > _RIGHT_ (typically i need 2 images from one camera to complete my tests). > > > > Some digikam users can take and send me some JPEG pictures like this ? > > Thanks in advance. > > > > Gilles Caulier > > Good evening Gilles > > Ok, here are some vertical Jpegs (taken with Canon EOS 20D) > http://www.daniel-bauer.com/gilles/IMG_0001.JPG > http://www.daniel-bauer.com/gilles/IMG_0002.JPG > http://www.daniel-bauer.com/gilles/IMG_0003.JPG > http://www.daniel-bauer.com/gilles/IMG_0004.JPG > > This time really "clean" photos... > ... just my nearest relatives :-) (:=))). OK thanks. I will dowload these files tomorrow morning. > > have a nice evening > U2 Gilles _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
On Monday 27 March 2006 11:46 pm, Caulier Gilles wrote:
> Le Lundi 27 Mars 2006 08:03 PM, Daniel Bauer a écrit :> Am Montag, 27. März > 2006 18:04 schrieb Gilles Caulier:> > To finalize my implementation i need > to use some JPEG files comming from> > others camera (without any > corrections please !). These images must be> > _VERTICALLY_ oriented with > the camera turned to the _LEFT_, and to the> > _RIGHT_ (typically i need 2 > images from one camera to complete my tests).> >> > Some digikam users can > take and send me some JPEG pictures like this ?> > Thanks in advance.> >> > > Gilles Caulier>> Good evening Gilles>> Ok, here are some vertical Jpegs > (taken with Canon EOS 20D)> > http://www.daniel-bauer.com/gilles/IMG_0001.JPG> > http://www.daniel-bauer.com/gilles/IMG_0002.JPG> > http://www.daniel-bauer.com/gilles/IMG_0003.JPG> > http://www.daniel-bauer.com/gilles/IMG_0004.JPG>> This time really "clean" > photos...> ... just my nearest relatives :-) (:=))). OK thanks. I will > dowload these files tomorrow morning. > > >> have a nice evening> > > U2 > Gilles Downloaded. Thanks Daniel... Note your camera rotate automaticly the picture and the embeded Exif thumbs. The Exif orientation tags is always set to TOP/LEFT. In others word, your camera have already done auto-rotation properlly... I can't use it for my tests (:=)))... Gilles _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Gilles Caulier-2
Hi Gilles,
here are links for 3 files from a Minolta 7D: http://www.liz.la.fh-weihenstephan.de/~springm/original_size/pict2269.jpg http://www.liz.la.fh-weihenstephan.de/~springm/original_size/pict2270.jpg http://www.liz.la.fh-weihenstephan.de/~springm/original_size/pict2271.jpg This camera unfortunately does *not* set the rotation flag in the correct way. However Image::Exiftool now can read the MakerNote and thusly correct the exif rotation flag. This is the way I am handling this issue at the moment. the examples are unmodified. Kind regards Markus _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
On Tuesday 28 March 2006 12:51 pm, Markus Spring wrote:
> Hi Gilles, > > here are links for 3 files from a Minolta 7D: > > http://www.liz.la.fh-weihenstephan.de/~springm/original_size/pict2269.jpg > http://www.liz.la.fh-weihenstephan.de/~springm/original_size/pict2270.jpg > http://www.liz.la.fh-weihenstephan.de/~springm/original_size/pict2271.jpg > > This camera unfortunately does *not* set the rotation flag in the correct > way. However Image::Exiftool now can read the MakerNote and thusly correct > the exif rotation flag. This is the way I am handling this issue at the > moment. the examples are unmodified. > Excelent. Since we use Exiv2, we can read markerNotes (:=))). I will investigation this issue to solve the problem ! Gilles _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Markus Spring
On Tuesday 28 March 2006 12:51 pm, Markus Spring wrote:
> Hi Gilles, > > here are links for 3 files from a Minolta 7D: > > http://www.liz.la.fh-weihenstephan.de/~springm/original_size/pict2269.jpg > http://www.liz.la.fh-weihenstephan.de/~springm/original_size/pict2270.jpg > http://www.liz.la.fh-weihenstephan.de/~springm/original_size/pict2271.jpg > > This camera unfortunately does *not* set the rotation flag in the correct > way. However Image::Exiftool now can read the MakerNote and thusly correct > the exif rotation flag. Markus, witch MakerNotes tag you read exactly with ExifTools to correct Exif Orientation tag ? In your images, there are no "Standard" MakerNotes ! Gilles _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Gilles Caulier-2
Am Dienstag, 28. März 2006 07:35 schrieb Gilles Caulier:
> Note your camera rotate automaticly the picture and the embeded Exif > thumbs. The Exif orientation tags is always set to TOP/LEFT. In others > word, your camera have already done auto-rotation properlly... I can't use > it for my tests (:=)))... > > Gilles Hi Gilles Here are two other pictures: http://www.daniel-bauer.com/gilles/PICT0001.JPG and http://www.daniel-bauer.com/gilles/PICT0002.JPG taken by my niece with a Konica/Minolta dimage x1 pocket camera, one taken turned to the left, the other to the right. Hope you can use them :-) If you can use it, I can send two more photos tomorrow taken with an "old" Nikon Coolpix of a friend of mine. --- b.t.w.: Hey, yesterday I used the digikam "free rotation", "cut to aspect ratio" and "insert text" for the first time: what great tools, again! Earlier, in photoshop, I had to open the image (you know in windows: click-cklick, click-click... never ending...), add a "help line", measure its angle, choose "rotate image", enter angle, click-cklick, click-click..., then enter the aspect ratio for the select tool in two different fields, draw the selection, cut, save, click-cklick, click-click... etc. Now I am about ten times faster. Especially the automatic cutting of rotated pictures saves so much work, it's just great. Not to talk about the cutting-tool with the mask - a visible help I very much missed before. If I can attach a small wish to the "insert text" tool: would it be possible to remember the position of the last insert? (It already remembers text, size, color etc., which is just great, but as I have to insert my copyright marks in most of the pictures at the same position, it would be nice, if it would already be where I placed it in the last picture...). Nothing important, this, just if you feel bored one day and have nothing else to do :-)) regards Daniel -- Daniel Bauer photographer Basel Switzerland professional photography: http://www.daniel-bauer.com special interest site: http://www.bauer-nudes.com _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Gilles Caulier-2
.. here some photos taken with a Nikon Coolpix 4500:
http://www.daniel-bauer.com/gilles/Coolpix4500_1.JPG http://www.daniel-bauer.com/gilles/Coolpix4500_2.JPG http://www.daniel-bauer.com/gilles/DSCN9703.JPG http://www.daniel-bauer.com/gilles/DSCN9704.JPG -- Daniel Bauer photographer Basel Switzerland professional photography: http://www.daniel-bauer.com special interest site: http://www.bauer-nudes.com _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Daniel Bauer-2
> If I can attach a small wish to the "insert text" tool: would it be
> possible to remember the position of the last insert? (It already remembers > text, size, color etc., which is just great, but as I have to insert my > copyright marks in most of the pictures at the same position, it would be > nice, if it would already be where I placed it in the last picture...). > Nothing important, this, just if you feel bored one day and have nothing > else to do :-)) That is easy if both images have the same size. What if not? Say we store the position as relative values, but font size is stored as is in point size. Then, depending on the size of the next image, theh text will be relatively larger or smaller (it will cover the same number of pixels), or might partially be off the edge. What do you do if an image is smaller, do you reduce font size (same relative area), or does your copyright notice always cover the same absolute area? (Btw, usually, feel free to add wishes at bugs.kde.org) Marcel _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Marcel Wiesweg wrote:
>> If I can attach a small wish to the "insert text" tool: would it be >> possible to remember the position of the last insert? > That is easy if both images have the same size. What if not? ?? It does remember the last position, but seems it with a small offset amount (on a large number of photos, the text shifts a little from an image to the other) jdd -- http://www.dodin.net http://dodin.org/galerie_photo_web/expo/index.html http://lucien.dodin.net http://fr.susewiki.org/index.php?title=Gérer_ses_photos _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Marcel Wiesweg
Am Mittwoch, 29. März 2006 16:09 schrieb Marcel Wiesweg:
> > If I can attach a small wish to the "insert text" tool: would it be > > possible to remember the position of the last insert? (It already > > remembers text, size, color etc., which is just great, but as I have to > > insert my copyright marks in most of the pictures at the same position, > > it would be nice, if it would already be where I placed it in the last > > picture...). Nothing important, this, just if you feel bored one day and > > have nothing else to do :-)) > > That is easy if both images have the same size. What if not? Well, I'd say, if the text "falls out" of the image because it's smaller than the last one, then it should be placed in the default position (middle). Or, having a selection to check "remember text-position"? > Say we store the position as relative values, That would be great, much more than my wish of simply remembering last absolute position. But if the program can even remember the relative position (like "upper left corner" etc.) I'd be at a loss for words and go wild with enthusiasm - again ;-) > but font size is stored as is > in point size. Then, depending on the size of the next image, theh text > will be relatively larger or smaller (it will cover the same number of > pixels), or might partially be off the edge. Actually I don't know what happens in this case _now_ (never tried with different resolutions). All the "remembering" could stay as it already is, just adding the position. If the position is "wrong" for the new picture, due to size or resolution, I'd just still have to move it to the right place "by hand" - and the new position will be remembered. > What do you do if an image is smaller, do you reduce font size (same > relative area), yes, approximately. I also have to change the color from time to time, when the theme changes (but I'm glad, color _is_ remembered). > or does your copyright notice always cover the same > absolute area? No, and also it's not on the same place in _every_ picture. But I mostly have series and then I have, lets say, 20 pictures with text to the lower right, then 20 pictures with text turned 270° and placed upper left... With "remembering" I'd save 38 moves in this example (Today I added copyright-marks to 800 pictures, so saving 90% of all mouse moves would really ease the job :-) > (Btw, usually, feel free to add wishes at bugs.kde.org) Yes, I know. I just didn't consider this wish important enough to put it on the official wish list... It would really just be kind of "luxury" to even have this feature, too. Daniel -- Daniel Bauer photographer Basel Switzerland professional photography: http://www.daniel-bauer.com special interest site: http://www.bauer-nudes.com _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by jdd@dodin.org
Am Mittwoch, 29. März 2006 16:20 schrieb jdd:
> Marcel Wiesweg wrote: > >> If I can attach a small wish to the "insert text" tool: would it be > >> possible to remember the position of the last insert? > > > > That is easy if both images have the same size. What if not? > > ?? > > It does remember the last position, but seems it with a > small offset amount (on a large number of photos, the text > shifts a little from an image to the other) > > jdd Does it? I still use 0.8.1 and text always shows up in the middle of the picture. Maybe you have a newer version and it's already done ??? Daniel -- Daniel Bauer photographer Basel Switzerland professional photography: http://www.daniel-bauer.com special interest site: http://www.bauer-nudes.com _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Daniel Bauer-2
Le Mardi 28 Mars 2006 20:55, Daniel Bauer a écrit :
> Am Dienstag, 28. März 2006 07:35 schrieb Gilles Caulier: > > Note your camera rotate automaticly the picture and the embeded Exif > > thumbs. The Exif orientation tags is always set to TOP/LEFT. In others > > word, your camera have already done auto-rotation properlly... I can't > > use it for my tests (:=)))... > > > > Gilles > > Hi Gilles > > Here are two other pictures: > > http://www.daniel-bauer.com/gilles/PICT0001.JPG and > http://www.daniel-bauer.com/gilles/PICT0002.JPG > ok thanks. I will download it tomorrow morning... > taken by my niece with a Konica/Minolta dimage x1 pocket camera, one taken > turned to the left, the other to the right. Hope you can use them :-) > > If you can use it, I can send two more photos tomorrow taken with an "old" > Nikon Coolpix of a friend of mine. yes, i'm interresed by all JPEG file taken with camera. My collection is very important now. I very surprising like EXIF is not really well implemented by camera manufacturer... > --- > b.t.w.: Hey, yesterday I used the digikam "free rotation", "cut to aspect > ratio" and "insert text" for the first time: what great tools, again! > Earlier, in photoshop, I had to open the image (you know in windows: > click-cklick, click-click... never ending...), add a "help line", measure > its angle, choose "rotate image", enter angle, click-cklick, > click-click..., then enter the aspect ratio for the select tool in two > different fields, draw the selection, cut, save, click-cklick, > click-click... etc. > > Now I am about ten times faster. Especially the automatic cutting of > rotated pictures saves so much work, it's just great. Not to talk about the > cutting-tool with the mask - a visible help I very much missed before. > > If I can attach a small wish to the "insert text" tool: would it be > possible to remember the position of the last insert? (It already remembers > text, size, color etc., which is just great, but as I have to insert my > copyright marks in most of the pictures at the same position, it would be > nice, if it would already be where I placed it in the last picture...). > Nothing important, this, just if you feel bored one day and have nothing > else to do :-)) I let's Marcel following this point. I'm agree in general by your contructive remarks (:=))) Gilles _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Daniel Bauer-2
Daniel Bauer wrote:
> Am Mittwoch, 29. März 2006 16:20 schrieb jdd: >> Marcel Wiesweg wrote: >>>> If I can attach a small wish to the "insert text" tool: would it be >>>> possible to remember the position of the last insert? >>> That is easy if both images have the same size. What if not? >> ?? >> >> It does remember the last position, but seems it with a >> small offset amount (on a large number of photos, the text >> shifts a little from an image to the other) >> >> jdd > > Does it? I still use 0.8.1 and text always shows up in the middle of the > picture. Maybe you have a newer version and it's already done ??? > > Daniel I use in my galleries the same picture as first, with only the date. So time to time I add this picture to a lot of directories and civer it by the date, of course the date changes of course, the initial picture is always the same size, this can have an importance jdd -- http://www.dodin.net http://dodin.org/galerie_photo_web/expo/index.html http://lucien.dodin.net http://fr.susewiki.org/index.php?title=Gérer_ses_photos _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Daniel Bauer-2
> That would be great, much more than my wish of simply remembering last > absolute position. But if the program can even remember the relative > position (like "upper left corner" etc.) I'd be at a loss for words and go > wild with enthusiasm - again ;-) > > No, and also it's not on the same place in _every_ picture. But I mostly > have series and then I have, lets say, 20 pictures with text to the lower > right, then 20 pictures with text turned 270° and placed upper left... With > "remembering" I'd save 38 moves in this example (Today I added > copyright-marks to 800 pictures, so saving 90% of all mouse moves would > really ease the job :-) > Position storing is now in svn. The code should work for images of differing sizes, and things like "upper left corner" should work as well. (It positions the text relative to the nearest edges) Marcel _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Am Donnerstag, 30. März 2006 17:11 schrieb Marcel Wiesweg:
> Position storing is now in svn. The code should work for images of > differing sizes, and things like "upper left corner" should work as well. > (It positions the text relative to the nearest edges) > > Marcel Wow, this goes fast... great! thanks! Daniel -- Daniel Bauer photographer Basel Switzerland professional photography: http://www.daniel-bauer.com special interest site: http://www.bauer-nudes.com _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Free forum by Nabble | Edit this page |