| View previous topic :: View next topic |
| Author |
Message |
jdGlanville
Joined: 12 Jan 2010 Posts: 6
|
Posted: 12th Jan 2010, Tue, 00:43 Post subject: Does RT support the reading of IPTC from Canon CRW files? |
|
|
Hello all,
I've searched the forums and documentation for the answer to this question without success.
I have Canon RAW files (CRW) in which I have embedded some IPTC information. When I open that RAW file in RT, I can't see the IPTC information on the Metadata / IPTC tab. Also, when I save the image in TIFF or JPEG, the resulting file don't have the IPTC information from the RAW file.
Does RT read IPTC information from CRW files?
Thanks |
|
| Back to top |
|
 |
procyon
Joined: 07 Jan 2010 Posts: 7
|
Posted: 12th Jan 2010, Tue, 08:26 Post subject: |
|
|
How did you embed the IPTC data ?
Most programs don't write the data actually to the RAW file but just create a sidecar file with the information. |
|
| Back to top |
|
 |
DrSlony
Joined: 02 Dec 2007 Posts: 934 Location: London, Rainy Kingdom
|
Posted: 12th Jan 2010, Tue, 20:31 Post subject: |
|
|
| digiKam can |
|
| Back to top |
|
 |
keenonkites
Joined: 24 Aug 2007 Posts: 417 Location: Switzerland
|
Posted: 12th Jan 2010, Tue, 21:22 Post subject: |
|
|
there are a lot of tools that are able to embed either IPTC, XMP or other data directly in the original source raw files...
.... but to be honest, I would strongly recommend not to do so.... RAW files are per definition proprietary file formats (except a few exceptions) and as this formats are only reengineered but not really open, it's dangerous to add stuff there...
But this is my very personal opinion and is bit, only a bit off-topic
Patrik |
|
| Back to top |
|
 |
jdGlanville
Joined: 12 Jan 2010 Posts: 6
|
Posted: 12th Jan 2010, Tue, 23:08 Post subject: |
|
|
| procyon wrote: | How did you embed the IPTC data ?
Most programs don't write the data actually to the RAW file but just create a sidecar file with the information. |
Actually, quite a lot of programs can "embed" IPTC data in Canon CRW files. Ones that I know of include BreezeBrowser and IMatch.
I believe (but don't quote me on this) that what they do is apply the IPTC data not to the raw data, but instead to either the accompanying thumbnail file or the embedded preview. As it is a JPEG image, IPTC embedding is supported. This way, the actual proprietary information is untouched (as keenonkites points out, the proprietary information is sacrosanct).
Apparently, ExifTool also supports the reading and writing of IPTC and EXIF information for Canon RAW images. You can read their Canon CRW specific information here. |
|
| Back to top |
|
 |
jdGlanville
Joined: 12 Jan 2010 Posts: 6
|
Posted: 19th Jan 2010, Tue, 16:19 Post subject: |
|
|
| OK, I don't think there's been an explicit answer to my question: does RT read the IPTC information embedded within Canon RAW files, and does it them write that IPTC information into the converted JPEG / TIFF files? |
|
| Back to top |
|
 |
keenonkites
Joined: 24 Aug 2007 Posts: 417 Location: Switzerland
|
Posted: 19th Jan 2010, Tue, 17:09 Post subject: |
|
|
can you post an example image ?
best RAW and the converted one, so we can check about the tags ?
Patrik |
|
| Back to top |
|
 |
jdGlanville
Joined: 12 Jan 2010 Posts: 6
|
Posted: 30th Jan 2010, Sat, 21:34 Post subject: |
|
|
Sorry for the delay. Sometimes life gets busy.
What is the best way of sharing RAW files? I thought what I'd do is post them on a photo website, like picasaweb or flickr, but neither of them allow uploading of CRW files. I even tried to get creative and renamed the CRW IMG-5911.CRW.JPG. |
|
| Back to top |
|
 |
DrSlony
Joined: 02 Dec 2007 Posts: 934 Location: London, Rainy Kingdom
|
|
| Back to top |
|
 |
jdGlanville
Joined: 12 Jan 2010 Posts: 6
|
Posted: 30th Jan 2010, Sat, 22:05 Post subject: |
|
|
Thanks DrSlony
OK, here's what I've got.
Note that the metadata is actually not in the CRW file but the THM file.[/url] |
|
| Back to top |
|
 |
keenonkites
Joined: 24 Aug 2007 Posts: 417 Location: Switzerland
|
Posted: 31st Jan 2010, Sun, 09:09 Post subject: |
|
|
The THM file is what is 'causing' your troubles.... RawTherapee does only consider the RAW file itself....
but on the other hand: having the tags in the THM file is a 'good' solution, nothing to complain about... this way you leave the original RAW file untouched...
... But I'll check again a bit deeper lateron.
Regards
Patrik |
|
| Back to top |
|
 |
keenonkites
Joined: 24 Aug 2007 Posts: 417 Location: Switzerland
|
Posted: 31st Jan 2010, Sun, 10:20 Post subject: |
|
|
I've checked again:
here the results of dumping all metainfo:
IMG_5911.crw
| Code: | ---- File ----
FileName : IMG_5911.CRW
Directory : .
FileSize : 5.3 MB
FileModifyDate : 2010:01:31 10:36:27+01:00
FilePermissions : rw-rw-rw-
FileType : CRW
MIMEType : image/x-raw
---- MakerNotes ----
RawData : (Binary data 4718008 bytes, use -b option to extract)
JpgFromRaw : (Binary data 866860 bytes, use -b option to extract)
FileFormat : CRW
TargetCompressionRatio : 10
ImageWidth : 3072
ImageHeight : 2048
PixelAspectRatio : 1
Rotation : 90
ComponentBitDepth : 8
ColorBitDepth : 24
ColorBW : 257
TargetImageType : Real-world Subject
RecordID : 0
FileNumber : 159-5911
DateTimeOriginal : 2009:12:23 23:19:30
TimeZoneCode : 0
TimeZoneInfo : 0
OriginalFileName : CRW_5911.CRW
ThumbnailFileName : CRW_5911.THM
UserComment :
MeasuredEV : 4.625
CanonFileDescription : EOS DIGITAL REBEL CMOS RAW
CanonImageType : CRW:EOS DIGITAL REBEL CMOS RAW
OwnerName : Glanville, Jay Dickon
Make : Canon
Model : Canon EOS DIGITAL REBEL
SerialNumber : 1460410863
BaseISO : 100
ROMOperationMode : USA
CanonFirmwareVersion : Firmware Version 1.1.1
FocalLength : 105 mm
FocalPlaneXSize : 23.22 mm
FocalPlaneYSize : 15.49 mm
AutoISO : 100
BaseISO : 100
MeasuredEV : 2.75
TargetAperture : 4.5
TargetExposureTime : 3.2
ExposureCompensation : 0
WhiteBalance : Auto
SlowShutter : None
SequenceNumber : 0
OpticalZoomCode : n/a
FlashGuideNumber : 0
FlashExposureComp : 0
AutoExposureBracketing : Off
AEBBracketValue : 0
ControlMode : Camera Local Control
FocusDistanceUpper : 0.8
FocusDistanceLower : 0.73
FNumber : 4.5
ExposureTime : 3.2
MeasuredEV2 : 2.5
BulbDuration : 0
CameraType : EOS Mid-range
AutoRotate : Rotate 90 CW
NDFilter : Unknown (-1)
SelfTimer2 : 0
BracketMode : Off
BracketValue : 0
BracketShotNumber : 0
MacroMode : Unknown (0)
SelfTimer : 10 s
Quality : RAW
CanonFlashMode : Off
ContinuousDrive : Single
FocusMode : Manual Focus (3)
RecordMode : CRW+THM
CanonImageSize : Large
EasyMode : Manual
DigitalZoom : Unknown (-1)
Contrast : Normal
Saturation : Normal
Sharpness : 0
CameraISO : n/a
MeteringMode : Evaluative
FocusRange : Not Known
CanonExposureMode : Program AE
LensType : Unknown (-1)
LongFocal : 105 mm
ShortFocal : 28 mm
FocalUnits : 1/mm
MaxAperture : 4
MinAperture : 27
FlashActivity : 0
FlashBits : (none)
ZoomSourceWidth : 3072
ZoomTargetWidth : 3072
ManualFlashOutput : n/a
ColorTone : Normal
CanonModelID : EOS Digital Rebel / 300D / Kiss Digital
SensorWidth : 3152
SensorHeight : 2068
SensorLeftBorder : 72
SensorTopBorder : 16
SensorRightBorder : 3143
SensorBottomBorder : 2063
BlackMaskLeftBorder : 24
BlackMaskTopBorder : 224
BlackMaskRightBorder : 40
BlackMaskBottomBorder : 1856
DecoderTableNumber : 1
CompressedDataOffset : 514
CompressedDataLength : 3088421
NumAFPoints : 7
ValidAFPoints : 7
CanonImageWidth : 3072
CanonImageHeight : 2048
AFImageWidth : 3072
AFImageHeight : 2048
AFAreaWidth : 151
AFAreaHeight : 151
AFAreaXPositions : 1014 608 0 0 0 -608 -1014
AFAreaYPositions : 0 0 -506 0 506 0 0
AFPointsInFocus : (none)
ColorTemperature : 5200
WB_RGGBLevelsAuto : 1535 947 952 1625
WB_RGGBLevelsDaylight : 1728 829 834 976
WB_RGGBLevelsShade : 2044 829 834 822
WB_RGGBLevelsCloudy : 1885 829 834 887
WB_RGGBLevelsTungsten : 1211 898 904 1649
WB_RGGBLevelsFluorescent : 1488 829 834 1362
WB_RGGBLevelsFlash : 1946 829 834 880
WB_RGGBLevelsCustom : 1728 829 834 976
WB_RGGBLevelsKelvin : 1725 829 834 974
ColorSpace : sRGB
RawJpgQuality : Fine
RawJpgSize : Medium
RawJpgWidth : 2048
RawJpgHeight : 1360
SerialNumberFormat : Format 1
|
IMG_5911.JPG
| Code: | ---- File ----
FileName : IMG_5911.jpg
Directory : .
FileSize : 733 kB
FileModifyDate : 2010:01:31 10:36:52+01:00
FilePermissions : rw-rw-rw-
FileType : JPEG
MIMEType : image/jpeg
ExifByteOrder : Little-endian (Intel, II)
ImageWidth : 3080
ImageHeight : 2048
EncodingProcess : Baseline DCT, Huffman coding
BitsPerSample : 8
ColorComponents : 3
YCbCrSubSampling : YCbCr4:2:0 (2 2)
---- EXIF ----
ImageWidth : 3080
ImageHeight : 2048
BitsPerSample : 8
Compression : Uncompressed
PhotometricInterpretation : RGB
Make : Canon
Model : Canon EOS DIGITAL REBEL
Orientation : Horizontal (normal)
SamplesPerPixel : 3
XResolution : 300
YResolution : 300
PlanarConfiguration : Chunky
ResolutionUnit : inches
Software : RawTherapee
ModifyDate : 2009:12:23 23:19:30
Artist : Glanville, Jay Dickon
ExposureTime : 3.2
FNumber : 4.5
ExposureProgram : Program AE
ISO : 100
DateTimeOriginal : 2009:12:23 23:19:30
CreateDate : 2009:12:23 23:19:30
ShutterSpeedValue : 3.2
ApertureValue : 4.4
ExposureCompensation : 0
MaxApertureValue : 4.0
MeteringMode : Multi-segment
Flash : No Flash
FocalLength : 105.0 mm
---- MakerNotes ----
MacroMode : Unknown (0)
SelfTimer : 10 s
Quality : RAW
CanonFlashMode : Off
ContinuousDrive : Single
FocusMode : Manual Focus (3)
RecordMode : CRW+THM
CanonImageSize : Large
EasyMode : Manual
DigitalZoom : Unknown (-1)
Contrast : Normal
Saturation : Normal
Sharpness : 0
CameraISO : n/a
MeteringMode : Evaluative
FocusRange : Not Known
CanonExposureMode : Program AE
LensType : Unknown (-1)
LongFocal : 105 mm
ShortFocal : 28 mm
FocalUnits : 1/mm
MaxAperture : 4
MinAperture : 27
FlashActivity : 0
FlashBits : (none)
ZoomSourceWidth : 3072
ZoomTargetWidth : 3072
ManualFlashOutput : n/a
ColorTone : Normal
AutoISO : 100
BaseISO : 100
MeasuredEV : 2.75
TargetAperture : 4.5
TargetExposureTime : 3.2
ExposureCompensation : 0
WhiteBalance : Auto
SlowShutter : None
SequenceNumber : 0
OpticalZoomCode : n/a
FlashGuideNumber : 0
FlashExposureComp : 0
AutoExposureBracketing : Off
AEBBracketValue : 0
ControlMode : Camera Local Control
FocusDistanceUpper : 0.8
FocusDistanceLower : 0.73
FNumber : 4.5
ExposureTime : 3.2
MeasuredEV2 : 2.5
BulbDuration : 0
CameraType : EOS Mid-range
AutoRotate : Rotate 90 CW
NDFilter : Unknown (-1)
SelfTimer2 : 0
NumAFPoints : 7
ValidAFPoints : 7
CanonImageWidth : 3072
CanonImageHeight : 2048
AFImageWidth : 3072
AFImageHeight : 2048
AFAreaWidth : 151
AFAreaHeight : 151
AFAreaXPositions : 1014 608 0 0 0 -608 -1014
AFAreaYPositions : 0 0 -506 0 506 0 0
AFPointsInFocus : (none)
BracketMode : Off
BracketValue : 0
BracketShotNumber : 0
WB_RGGBLevelsAuto : 1535 947 952 1625
WB_RGGBLevelsDaylight : 1728 829 834 976
WB_RGGBLevelsShade : 2044 829 834 822
WB_RGGBLevelsCloudy : 1885 829 834 887
WB_RGGBLevelsTungsten : 1211 898 904 1649
WB_RGGBLevelsFluorescent : 1488 829 834 1362
WB_RGGBLevelsFlash : 1946 829 834 880
WB_RGGBLevelsCustom : 1728 829 834 976
WB_RGGBLevelsKelvin : 1725 829 834 974
SensorWidth : 3152
SensorHeight : 2068
SensorLeftBorder : 72
SensorTopBorder : 16
SensorRightBorder : 3143
SensorBottomBorder : 2063
BlackMaskLeftBorder : 24
BlackMaskTopBorder : 224
BlackMaskRightBorder : 40
BlackMaskBottomBorder : 1856
|
IMG_5911.THM | Code: | ---- File ----
FileName : IMG_5911.thm
Directory : .
FileSize : 10 kB
FileModifyDate : 2010:01:31 10:36:36+01:00
FilePermissions : rw-rw-rw-
FileType : JPEG
MIMEType : image/jpeg
ExifByteOrder : Little-endian (Intel, II)
CurrentIPTCDigest : 5685fc721a155829c13a8b066d4daac0
ImageWidth : 160
ImageHeight : 120
EncodingProcess : Baseline DCT, Huffman coding
BitsPerSample : 8
ColorComponents : 3
YCbCrSubSampling : YCbCr4:2:2 (2 1)
---- EXIF ----
Make : Canon
Model : Canon EOS DIGITAL REBEL
Orientation : Rotate 90 CW
XResolution : 180
YResolution : 180
ResolutionUnit : inches
ModifyDate : 2009:12:23 23:19:30
YCbCrPositioning : Centered
ExposureTime : 3.2
FNumber : 4.5
ISO : 100
ExifVersion : 0221
DateTimeOriginal : 2009:12:23 23:19:30
CreateDate : 2009:12:23 23:19:30
ComponentsConfiguration : Y, Cb, Cr, -
CompressedBitsPerPixel : 9
ShutterSpeedValue : 3.2
ApertureValue : 4.5
ExposureCompensation : 0
MaxApertureValue : 4.5
MeteringMode : Multi-segment
Flash : No Flash
FocalLength : 105.0 mm
UserComment :
FlashpixVersion : 0100
ColorSpace : sRGB
ExifImageWidth : 160
ExifImageHeight : 120
InteropIndex : THM - DCF thumbnail file
InteropVersion : 0100
RelatedImageWidth : 3072
RelatedImageHeight : 2048
FocalPlaneXResolution : 3443.946188
FocalPlaneYResolution : 3442.016807
FocalPlaneResolutionUnit : inches
SensingMethod : One-chip color area
FileSource : Digital Camera
CustomRendered : Normal
ExposureMode : Auto
WhiteBalance : Auto
SceneCaptureType : Standard
---- MakerNotes ----
MacroMode : Unknown (0)
SelfTimer : 10 s
Quality : RAW
CanonFlashMode : Off
ContinuousDrive : Single
FocusMode : Manual Focus (3)
RecordMode : CRW+THM
CanonImageSize : Large
EasyMode : Manual
DigitalZoom : Unknown (-1)
Contrast : Normal
Saturation : Normal
Sharpness : 0
CameraISO : n/a
MeteringMode : Evaluative
FocusRange : Not Known
CanonExposureMode : Program AE
LensType : Unknown (-1)
LongFocal : 105 mm
ShortFocal : 28 mm
FocalUnits : 1/mm
MaxAperture : 4
MinAperture : 27
FlashActivity : 0
FlashBits : (none)
ZoomSourceWidth : 3072
ZoomTargetWidth : 3072
ManualFlashOutput : n/a
ColorTone : Normal
FocalLength : 105 mm
FocalPlaneXSize : 23.22 mm
FocalPlaneYSize : 15.49 mm
AutoISO : 100
BaseISO : 100
MeasuredEV : 2.75
TargetAperture : 4.5
TargetExposureTime : 3.2
ExposureCompensation : 0
WhiteBalance : Auto
SlowShutter : None
SequenceNumber : 0
OpticalZoomCode : n/a
FlashGuideNumber : 0
FlashExposureComp : 0
AutoExposureBracketing : Off
AEBBracketValue : 0
ControlMode : Camera Local Control
FocusDistanceUpper : 0.8
FocusDistanceLower : 0.73
FNumber : 4.5
ExposureTime : 3.2
MeasuredEV2 : 2.5
BulbDuration : 0
CameraType : EOS Mid-range
AutoRotate : Rotate 90 CW
NDFilter : Unknown (-1)
SelfTimer2 : 0
BracketMode : Off
BracketValue : 0
BracketShotNumber : 0
CanonImageType : CRW:EOS DIGITAL REBEL CMOS RAW
CanonFirmwareVersion : Firmware Version 1.1.1
SerialNumber : 1460410863
SerialNumberFormat : Format 1
FileNumber : 159-5911
OwnerName : Glanville, Jay Dickon
CanonModelID : EOS Digital Rebel / 300D / Kiss Digital
CanonFileLength : 5591072
MeasuredRGGB : 1561 1022 1026 283
WB_RGGBLevelsAuto : 1535 947 952 1625
WB_RGGBLevelsDaylight : 1728 829 834 976
WB_RGGBLevelsShade : 2044 829 834 822
WB_RGGBLevelsCloudy : 1885 829 834 887
WB_RGGBLevelsTungsten : 1211 898 904 1649
WB_RGGBLevelsFluorescent : 1488 829 834 1362
WB_RGGBLevelsFlash : 1946 829 834 880
WB_RGGBLevelsCustom : 1728 829 834 976
WB_RGGBLevelsKelvin : 1725 829 834 974
ColorTemperature : 5200
ColorSpace : sRGB
NumAFPoints : 7
ValidAFPoints : 7
CanonImageWidth : 3072
CanonImageHeight : 2048
AFImageWidth : 3072
AFImageHeight : 2048
AFAreaWidth : 151
AFAreaHeight : 151
AFAreaXPositions : 1014 608 0 0 0 -608 -1014
AFAreaYPositions : 0 0 -506 0 506 0 0
AFPointsInFocus : (none)
ThumbnailImageValidArea : 0 159 7 112
---- IPTC ----
ApplicationRecordVersion : 2
ObjectName :
EditStatus :
Urgency : Unknown ()
Category :
FixtureIdentifier :
ReleaseDate :
ReleaseTime :
SpecialInstructions :
DateCreated :
TimeCreated :
OriginatingProgram :
ObjectCycle : Unknown ()
By-line : Jay Dickon Glanville
By-lineTitle :
City : Fletcher's Lake
Sub-location :
Province-State : Nova Scotia
Country-PrimaryLocationCode : CAN
Country-PrimaryLocationName : Canada
OriginalTransmissionReference :
Headline :
Credit : Jay Dickon Glanville
Source :
CopyrightNotice : 2009, J D Glanville
Caption-Abstract : Disco Santa!.(Christmas Tree and Ornaments at the Fullerton residence.)
Writer-Editor :
|
As you said: no IPTC info in the CRW file, that's also why there's no IPTC inside the developed JPG...
For a solution of your problem I would recommend to use the exiftool. With this you can copy the needed IPTC tags again from the THM file into the final JPG file...
The exiftool does this on the CommandLine (scriptable).... but there is a tool doing this also with a GUI:
exiftool: http://owl.phy.queensu.ca/~phil/exiftool/
exiftoolGUI: http://freeweb.siol.net/hrastni3/foto/exif/exiftoolgui.htm
Hope this info helps you bit....
Regards |
|
| Back to top |
|
 |
jdGlanville
Joined: 12 Jan 2010 Posts: 6
|
Posted: 31st Jan 2010, Sun, 16:58 Post subject: |
|
|
| Thanks for the suggestion. I'm already using ExifToolGUi to copy IPTC data from the THM into the JPG. Unfortunately, that's a very manual and time consuming process. I'd love it if it was part of the RAW conversion process. |
|
| Back to top |
|
 |
keenonkites
Joined: 24 Aug 2007 Posts: 417 Location: Switzerland
|
Posted: 31st Jan 2010, Sun, 18:24 Post subject: |
|
|
you could write a batchfile that copies automatically the IPTC Data from the THM file over to the JPG.... as long as they have the same name and are located in the same directory this should be possible with a quite easy script... if you put this scipt onto the desktop you should be able to drop the file (THM or JPG) onto that script... I'm not the windows script guru, sorry can't help you here....
Visual Basic could help too....
The process is still manual, but already much easier.
Patrik |
|
| Back to top |
|
 |
DrSlony
Joined: 02 Dec 2007 Posts: 934 Location: London, Rainy Kingdom
|
Posted: 1st Feb 2010, Mon, 20:30 Post subject: |
|
|
| The only 'correct' approach would be to make RT copy over all metadata... I suppose we have nothing against using exiftool or exiv2 in RT, do we? |
|
| Back to top |
|
 |
|