@@ -8,13 +8,12 @@ const idImageMagick = :ImageMagick => UUID("6218d12a-5da1-5696-b52f-db25d2ecc6d1
8
8
const idMeshIO = :MeshIO => UUID (" 7269a6da-0436-5bbc-96c2-40638cbb6118" )
9
9
const idNetpbm = :Netpbm => UUID (" f09324ee-3d7c-5217-9330-fc30815ba969" )
10
10
const idOpenCV = :OpenCV => UUID (" f878e3a2-a245-4720-8660-60795d644f2a" )
11
- const idQuartzImageIO = :QuartzImageIO => UUID (" dca85d43-d64c-5e67-8c65-017450d5d020" )
12
11
const idRData = :RData => UUID (" df47a6cb-8c03-5eed-afd8-b6050d6c41da" )
13
12
const idStatFiles = :StatFiles => UUID (" 1463e38c-9381-5320-bcd4-4134955f093a" )
14
13
const idSixel = :Sixel => UUID (" 45858cf5-a6b0-47a3-bbea-62219f50df47" )
15
14
const idVegaLite = :VegaLite => UUID (" 112f6efa-9a02-5b7d-90c0-432ed331239a" )
16
15
const idVideoIO = :VideoIO => UUID (" d6d074c3-1acf-5d4c-9a43-ef38773959a2" )
17
- const idLibSndFile = :LibSndFile => UUID (" b13ce0c6-77b0-50c6-a2db-140568b8d1a5" )
16
+ const idLibSndFile = :LibSndFile => UUID (" b13ce0c6-77b0-50c6-a2db-140568b8d1a5" )
18
17
const idJpegTurbo = :JpegTurbo => UUID (" b835a17e-a41a-41e7-81f0-2f016b05efe0" )
19
18
const idNPZ = :NPZ => UUID (" 15e1cf62-19b3-5cfa-8e77-841668bca605" )
20
19
@@ -102,7 +101,7 @@ function detect_rdata_single(io)
102
101
c == UInt8 (' \n ' ) || return false
103
102
return true
104
103
end
105
-
104
+
106
105
res = checked_match (io)
107
106
if ! res
108
107
res = detect_compressed (io; formats= [" GZIP" , " BZIP2" , " XZ" ]) && ! name_matches_compressed_fits (io)
@@ -164,22 +163,19 @@ add_format(
164
163
format " TGA" ,
165
164
(),
166
165
" .tga" ,
167
- [idQuartzImageIO, OSX],
168
166
[idImageMagick]
169
167
)
170
168
add_format (
171
169
format " GIF" ,
172
170
UInt8[0x47 ,0x49 ,0x46 ,0x38 ],
173
171
" .gif" ,
174
- [idQuartzImageIO, OSX],
175
172
[idImageMagick]
176
173
)
177
174
add_format (
178
175
format " PNG" ,
179
176
UInt8[0x89 ,0x50 ,0x4e ,0x47 ,0x0d ,0x0a ,0x1a ,0x0a ],
180
177
" .png" ,
181
178
[idImageIO],
182
- [idQuartzImageIO, OSX],
183
179
[idImageMagick],
184
180
[idOpenCV],
185
181
[MimeWriter, SAVE]
@@ -190,15 +186,13 @@ add_format(
190
186
[" .jpeg" , " .jpg" , " .JPG" ],
191
187
[idJpegTurbo],
192
188
[idImageIO],
193
- [idQuartzImageIO, OSX],
194
189
[idImageMagick],
195
190
[idOpenCV]
196
191
) # 0xe1
197
192
add_format (
198
193
format " BMP" ,
199
194
UInt8[0x42 ,0x4d ],
200
195
" .bmp" ,
201
- [idQuartzImageIO, OSX],
202
196
[idImageMagick],
203
197
[idOpenCV]
204
198
)
@@ -389,7 +383,7 @@ function detecttiff(io)
389
383
end
390
384
# normal TIFF
391
385
detect_noometiff (io) = detecttiff (io) && ((:name ∉ propertynames (io)) || ! (endswith (io. name, " .ome.tif>" ) || endswith (io. name, " .ome.tiff>" )))
392
- add_format (format " TIFF" , detect_noometiff, [" .tiff" , " .tif" ], [idImageIO], [idQuartzImageIO, OSX], [ idImageMagick], [idOpenCV])
386
+ add_format (format " TIFF" , detect_noometiff, [" .tiff" , " .tif" ], [idImageIO], [idImageMagick], [idOpenCV])
393
387
# OME-TIFF
394
388
detect_ometiff (io) = detecttiff (io) && (:name ∈ propertynames (io)) && (endswith (io. name, " .ome.tif>" ) || endswith (io. name, " .ome.tiff>" ))
395
389
add_format (format " OMETIFF" , detect_ometiff, [" .tif" , " .tiff" ], [:OMETIFF => UUID (" 2d0ec36b-e807-5756-994b-45af29551fcf" )])
@@ -482,9 +476,9 @@ add_format(format"GZIP", detect_gzip, ".gz", [:Libz => UUID("2ec943e9-cfe8-584d-
482
476
483
477
484
478
# Astro Data
485
- # FITS files are often gziped and given the extension ".fits.gz". We want to load those directly and not dispatch to Libz
486
- function detect_fits (io)
487
- # FITS files can have
479
+ # FITS files are often gziped and given the extension ".fits.gz". We want to load those directly and not dispatch to Libz
480
+ function detect_fits (io)
481
+ # FITS files can have
488
482
if name_matches_compressed_fits (io)
489
483
return true
490
484
end
0 commit comments