Image size

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

Image size

Roy-24
Hi,

i'm using digikam todays svn and wonder why it opens an image of size
1536x1024 in Image Editor when I click on a cr2 RAW image of size 3474x2314.
Any help will be appreciated.

Thank you very much.

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

Re: Image size

Gilles Caulier-2
Le Mercredi 21 Juin 2006 22:57, Roy a écrit :
> Hi,
>
> i'm using digikam todays svn and wonder why it opens an image of size
> 1536x1024 in Image Editor when I click on a cr2 RAW image of size
> 3474x2314. Any help will be appreciated.
>
> Thank you very much.
>
> Roy

It's a bug in Exiv2 about CR2 files, not digiKam directly. I can reproduce it.

"Exif.Image.ImageWidth" and "Exif.Image.ImageLength" values are wrong, but...
"Exif.Photo.PixelXDimension" and "Exif.Photo.PixelYDimension" values are
right !

Andreas, your viewpoint ?

Gilles


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

Re: Image size

Gilles Caulier-2
In reply to this post by Roy-24
Le Mercredi 21 Juin 2006 22:57, Roy a écrit :
> Hi,
>
> i'm using digikam todays svn and wonder why it opens an image of size
> 1536x1024 in Image Editor when I click on a cr2 RAW image of size
> 3474x2314. Any help will be appreciated.
>
> Thank you very much.
>

Marcel,

Sometimes, i have a DImg loading cache problem with "half size image" dcraw
decoding option when histogram is visible. Can you reproduce it ?

Roy, are you using histogram from main interface before to run image editor ?

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

Re: Image size

Gilles Caulier-2
In reply to this post by Roy-24
Le Mercredi 21 Juin 2006 22:57, Roy a écrit :
> Hi,
>
> i'm using digikam todays svn and wonder why it opens an image of size
> 1536x1024 in Image Editor when I click on a cr2 RAW image of size
> 3474x2314. Any help will be appreciated.
>
> Thank you very much.
>
> Roy

Marcel,

About the DImg cache memory problem with RAW files, I have found the right
context to reproduce it every time :

- start digikam and select an album with RAW files.
- set visible histogram.
- select a RAW file : the histogram is under way but not yet completed !
- start image editor imediatly ! => the RAW decoding image size is half size
than original !!!
- If you start image editor after than histogram is computed, the RAW decoded
image size is right !

My 10 cts € (:=)))

Roy : if we haven't a feedback from Marcel (normally , he is busy actually),
please make a new file in B.K.O using my descriptions. Thanks in advance.

Gilles


Gilles

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

Re: Image size

Roy-24
On Thursday 22 June 2006 00:41, Caulier Gilles wrote:

> Le Mercredi 21 Juin 2006 22:57, Roy a écrit :
> > Hi,
> >
> > i'm using digikam todays svn and wonder why it opens an image of size
> > 1536x1024 in Image Editor when I click on a cr2 RAW image of size
> > 3474x2314. Any help will be appreciated.
> >
> > Thank you very much.
> >
> > Roy
>
> Marcel,
>
> About the DImg cache memory problem with RAW files, I have found the right
> context to reproduce it every time :
>
> - start digikam and select an album with RAW files.
> - set visible histogram.
> - select a RAW file : the histogram is under way but not yet completed !
> - start image editor imediatly ! => the RAW decoding image size is half
> size than original !!!
> - If you start image editor after than histogram is computed, the RAW
> decoded image size is right !
I just realized that if I wait until the histogram is loaded and then click on
the RAW image to open it in the Image Editor digikam eats all my memory and
my computer begins to hang with a lot of disk activity.

# ps aux | grep digikam

mrsheep  11052  1.4 18.0 195460 91232 pts/3    Dl+  10:11  
0:45 /home/mrsheep/opt/bin/digikam

Find attached the output of #lsof | grep digikam which was captured while
digikam made my computer nearly unusable.

If I dont wait for the histogram the RAW image opens in half size.

> Roy : if we haven't a feedback from Marcel (normally , he is busy
> actually), please make a new file in B.K.O using my descriptions. Thanks in
> advance.

I will do so if we get no answer in the next few hours.

Roy

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

lsofdigi (19K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Image size

Bugzilla from ahuggel@gmx.net
In reply to this post by Gilles Caulier-2
On Thursday 22 June 2006 06:05, Caulier Gilles wrote:

> Le Mercredi 21 Juin 2006 22:57, Roy a écrit :
> > Hi,
> >
> > i'm using digikam todays svn and wonder why it opens an image of size
> > 1536x1024 in Image Editor when I click on a cr2 RAW image of size
> > 3474x2314. Any help will be appreciated.
> >
> > Thank you very much.
> >
> > Roy
>
> It's a bug in Exiv2 about CR2 files, not digiKam directly. I can reproduce
> it.
>
> "Exif.Image.ImageWidth" and "Exif.Image.ImageLength" values are wrong,
> but... "Exif.Photo.PixelXDimension" and "Exif.Photo.PixelYDimension" values
> are right !
>
> Andreas, your viewpoint ?
>
> Gilles

You're right, it looks like IFD0 contains a reduced size JPEG preview image
only. What if I simply don't extract those tags from IFD0 which are related
to the preview image, since they are not actual Exif tags? Does digikam rely
on Exif.Image.ImageWidth and Length?

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

Re: [Digikam-devel] Image size

Gilles Caulier-2
Le Jeudi 22 Juin 2006 17:22, vous avez écrit :

> On Thursday 22 June 2006 06:05, Caulier Gilles wrote:
> > Le Mercredi 21 Juin 2006 22:57, Roy a écrit :
> > > Hi,
> > >
> > > i'm using digikam todays svn and wonder why it opens an image of size
> > > 1536x1024 in Image Editor when I click on a cr2 RAW image of size
> > > 3474x2314. Any help will be appreciated.
> > >
> > > Thank you very much.
> > >
> > > Roy
> >
> > It's a bug in Exiv2 about CR2 files, not digiKam directly. I can
> > reproduce it.
> >
> > "Exif.Image.ImageWidth" and "Exif.Image.ImageLength" values are wrong,
> > but... "Exif.Photo.PixelXDimension" and "Exif.Photo.PixelYDimension"
> > values are right !
> >
> > Andreas, your viewpoint ?
> >
> > Gilles
>
> You're right, it looks like IFD0 contains a reduced size JPEG preview image
> only. What if I simply don't extract those tags from IFD0 which are related
> to the preview image, since they are not actual Exif tags? Does digikam
> rely on Exif.Image.ImageWidth and Length?
>

No, you can remove this IFD0 from CR2. I check exif.photo.* tags in first to
get image size and after exif.image.* tags. In fact, all code relevant of
Exiv2 is wrapped in the DMetadata class :

http://websvn.kde.org/trunk/extragear/graphics/digikam/libs/dmetadata/dmetadata.cpp?rev=553873&view=auto

Look my last changes in QSize DMetadata::getImageDimensions() method...

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





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

Re: Image size

Marcel Wiesweg
In reply to this post by Gilles Caulier-2
> Marcel,
>
> About the DImg cache memory problem with RAW files, I have found the right
> context to reproduce it every time :
>
> - start digikam and select an album with RAW files.
> - set visible histogram.
> - select a RAW file : the histogram is under way but not yet completed !
> - start image editor imediatly ! => the RAW decoding image size is half
> size than original !!!
> - If you start image editor after than histogram is computed, the RAW
> decoded image size is right !
>
> My 10 cts € (:=)))
>
> Roy : if we haven't a feedback from Marcel (normally , he is busy
> actually), please make a new file in B.K.O using my descriptions. Thanks in
> advance.

Here I am ;-)
I have hopefully fixed this in SVN, there were two or three problems when both
the half-size and the full-size version were being loaded concurrently.

Marcel

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

Re: Image size

Gilles Caulier-2
On Thursday 22 June 2006 22:56, Marcel Wiesweg wrote:

> > Marcel,
> >
> > About the DImg cache memory problem with RAW files, I have found the
> > right context to reproduce it every time :
> >
> > - start digikam and select an album with RAW files.
> > - set visible histogram.
> > - select a RAW file : the histogram is under way but not yet completed !
> > - start image editor imediatly ! => the RAW decoding image size is half
> > size than original !!!
> > - If you start image editor after than histogram is computed, the RAW
> > decoded image size is right !
> >
> > My 10 cts € (:=)))
> >
> > Roy : if we haven't a feedback from Marcel (normally , he is busy
> > actually), please make a new file in B.K.O using my descriptions. Thanks
> > in advance.
>
> Here I am ;-)
> I have hopefully fixed this in SVN, there were two or three problems when
> both the half-size and the full-size version were being loaded
> concurrently.
>

OK Thanks Marcel to check this point in the future (:=)))

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

Re: Image size

Gilles Caulier-2
In reply to this post by Marcel Wiesweg
On Thursday 22 June 2006 22:56, Marcel Wiesweg wrote:

> > Marcel,
> >
> > About the DImg cache memory problem with RAW files, I have found the
> > right context to reproduce it every time :
> >
> > - start digikam and select an album with RAW files.
> > - set visible histogram.
> > - select a RAW file : the histogram is under way but not yet completed !
> > - start image editor imediatly ! => the RAW decoding image size is half
> > size than original !!!
> > - If you start image editor after than histogram is computed, the RAW
> > decoded image size is right !
> >
> > My 10 cts € (:=)))
> >
> > Roy : if we haven't a feedback from Marcel (normally , he is busy
> > actually), please make a new file in B.K.O using my descriptions. Thanks
> > in advance.
>
> Here I am ;-)
> I have hopefully fixed this in SVN, there were two or three problems when
> both the half-size and the full-size version were being loaded
> concurrently.
>
> Marcel

Ok Marcel. Tested here. All work fine now...

Roy, can you confirm this point ?

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

Re: Image size

Roy-24
On Friday 23 June 2006 12:16, Gilles Caulier wrote:

> On Thursday 22 June 2006 22:56, Marcel Wiesweg wrote:
> > > Marcel,
> > >
> > > About the DImg cache memory problem with RAW files, I have found the
> > > right context to reproduce it every time :
> > >
> > > - start digikam and select an album with RAW files.
> > > - set visible histogram.
> > > - select a RAW file : the histogram is under way but not yet completed
> > > ! - start image editor imediatly ! => the RAW decoding image size is
> > > half size than original !!!
> > > - If you start image editor after than histogram is computed, the RAW
> > > decoded image size is right !
> > >
> > > My 10 cts € (:=)))
> > >
> > > Roy : if we haven't a feedback from Marcel (normally , he is busy
> > > actually), please make a new file in B.K.O using my descriptions.
> > > Thanks in advance.
> >
> > Here I am ;-)
> > I have hopefully fixed this in SVN, there were two or three problems when
> > both the half-size and the full-size version were being loaded
> > concurrently.
> >
> > Marcel
>
> Ok Marcel. Tested here. All work fine now...
>
> Roy, can you confirm this point ?

Works like a charm now. Thank you very much Gilles and Marcel.

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