Summary: | Allow to change DPI-info metadata | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | MaxiPunkt <maxantispam> |
Component: | Plugin-Generic-MetadataEdit | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | REPORTED --- | ||
Severity: | wishlist | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Mandriva RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
MaxiPunkt
2007-01-23 13:43:26 UTC
Gilles, I know it is not related to exif tag, but can we add something like that into that plugin or something like? Angelo, If i'm not too wrong Exif tags below are what you want to use : 0x011a XResolution rational64u IFD0 ==> The number of pixels per <ResolutionUnit> in the <ImageWidth> direction. When the image resolution is unknown, 72 [dpi] is designated. 0x011b YResolution rational64u IFD0 ==> The number of pixels per <ResolutionUnit> in the <ImageLength> direction. The same value as <XResolution> is designated. 0x0128 ResolutionUnit int16u IFD0 1 = None;2 = inches;3 = cm ==> The unit for measuring <XResolution> and <YResolution>. The same unit is used for both <XResolution> and <YResolution>. If the image resolution is unknown, 2 (inches) is designated. If we use these tags, if will be very easy to adjust values with libkexiv2... Gilles Adding/set DPI info require to rewrite whole image. This information is not on Exif/Iptc exif data should be the keys you can find into http://bugs.kde.org/show_bug.cgi?id=129948#c35 IIRC. I'd like to have it for printwizard, but in my case i need it as read only :) About this bug report: All the graphic images (at least most of) have dpi info inside the file itself. But Qt/KDE api don't allow to manage them well, on jpeg for instance in gwenview i used Aurelien's interface. Into bug #12994 reporter added a lot of links concerning documents for some kind of images. There you can find in which bytes are those info. HTH, Angelo Bug #129948 i meant :) |