RGB Tiff from ImageMagick / GraphicsMagick not valid

Issue #183 new
Thijs Leegwater created an issue

When I convert a photoshop tiff file with IM or GM, tag 254 gets lost, and renders the file invalid to the TiffClassRProfile.

The following warning is generated:

  • Profile {TiffClassRProfile}: InvalidBPSValueMessage: [WARNING/OBJECT] BitsPerSample value is not less than 1 isValid: false Coverage: Inclusive Format: Name: TiffClassRIdentifier Identifier {I8R}: Value: http://jhove2.org/terms/format/tiff-class-r-profile Namespace: JHOVE2 Version: 2.0.0 ReleaseDate: 2010-09-10 Scope: Specific TimerInfo: ElapsedTime: 00:00:00.003*

tiffdump output:

ImageWidth (256) SHORT (3) 1<5176> ImageLength (257) SHORT (3) 1<6955> BitsPerSample (258) SHORT (3) 3<8 8 8> Compression (259) SHORT (3) 1<1> Photometric (262) SHORT (3) 1<2> DocumentName (269) ASCII (2) 122<gm.tif> Make (271) ASCII (2) 5<Leaf\0> Model (272) ASCII (2) 44<Leaf Aptus-II 12(LI40012 ...> StripOffsets (273) LONG (4) 6955<8 15536 31064 46592 62120 77648 93176 108704 124232 139760 155288 170816 186344 201872 217400 232928 248456 263984 279512 295040 310568 326096 341624 357152 ...> Orientation (274) SHORT (3) 1<1> SamplesPerPixel (277) SHORT (3) 1<3> RowsPerStrip (278) SHORT (3) 1<1> StripByteCounts (279) LONG (4) 6955<15528 15528 15528 15528 15528 15528 15528 15528 15528 15528 15528 15528 15528 15528 15528 15528 15528 15528 15528 15528 15528 15528 15528 15528 ...> XResolution (282) RATIONAL (5) 1<303> YResolution (283) RATIONAL (5) 1<303> PlanarConfig (284) SHORT (3) 1<1> ResolutionUnit (296) SHORT (3) 1<2> PageNumber (297) SHORT (3) 2<0 1> Software (305) ASCII (2) 67<GraphicsMagick 1.3.16 20 ...> SampleFormat (339) SHORT (3) 3<1 1 1> ICC Profile (34675) UNDEFINED (7) 1992<00 00 0x7 0xc8 0x41 0x44 0x42 0x45 0x2 0x40 00 00 0x6d 0x6e 0x74 0x72 0x52 0x47 0x42 0x20 0x58 0x59 0x5a 0x20 ...>

This should be valid according to the tiff RGB profile described in https://bytebucket.org/jhove2/main/wiki/documents/JHOVE2-TIFF-module-spec-2-0-0.pdf

Comments (0)

  1. Log in to comment