@@ -96,8 +96,8 @@ def install
9696
9797 test do
9898 resource "homebrew-test_image" do
99- url "https://github.com/GrokImageCompression/grok-test-data/raw/43ce4cb/input/nonregression/pngsuite/basn0g01.png "
100- sha256 "c23c1848002082e128f533dc3c24a49fc57329293cc1468cc9dc36339b1abcac "
99+ url "https://github.com/GrokImageCompression/grok-test-data/raw/43ce4cb/input/nonregression/basn6a08.tif "
100+ sha256 "d0b9715d79b10b088333350855f9721e3557b38465b1354b0fa67f230f5679f3 "
101101 end
102102
103103 ( testpath /"test.c" ) . write <<~C
@@ -119,20 +119,18 @@ def install
119119
120120 # Test Exif metadata retrieval
121121 testpath . install resource ( "homebrew-test_image" )
122- system bin /"grk_compress" , "--in-file" , "basn0g01.png " ,
122+ system bin /"grk_compress" , "--in-file" , "basn6a08.tif " ,
123123 "--out-file" , "test.jp2" , "--out-fmt" , "jp2" ,
124124 "--transfer-exif-tags"
125125 output = shell_output ( "#{ Formula [ "exiftool" ] . bin } /exiftool test.jp2" )
126126
127127 expected_fields = [
128- "File Type : JP2" ,
129- "MIME Type : image/jp2" ,
130- "Major Brand : JPEG 2000 Image (.JP2)" ,
131- "Compatible Brands : jp2" ,
132- "Image Height : 32" ,
133- "Image Width : 32" ,
134- "Bits Per Component : 1 Bits, Unsigned" ,
135- "Compression : JPEG 2000" ,
128+ "Exif Byte Order : Big-endian (Motorola, MM)" ,
129+ "Orientation : Horizontal (normal)" ,
130+ "X Resolution : 72" ,
131+ "Y Resolution : 72" ,
132+ "Resolution Unit : inches" ,
133+ "Y Cb Cr Positioning : Centered" ,
136134 ]
137135
138136 expected_fields . each do |field |
0 commit comments