Hi Bob! Thanks for the script! I've been needing that a lot for debugging Krita's TIFF plugin.
Would it be possible to support YCbCr with your script as well? We can read and write those since some time ago (see https://www.asmail.be/msg0055222281.html). Best regards, amyspark On 11/05/2023 11:30, Bob Friesenhahn wrote: > Some people are interested in TIFF test images in order to test their > own software, or to see what is possible with the TIFF format (and > libtiff, which makes this all reasonably possible). > > I have added a 'genimages' shell script to the GraphicsMagick source > tree in the utilities/tests/gen-tiff-images subdirectory which uses > GraphicsMagick (a common Q16, or preferably a Q32 build) to produce 736 > permutations of uncompressed TIFF/BigTIFF files. > > On my laptop, this script produces 3.4G of files in just a few minutes. > > The README.txt file in that directory > (https://hg.osdn.net/view/graphicsmagick/GM/file/tip/utilities/tests/gen-tiff-images/README.txt) > provides instructions as well as a summary of current output. > > Few of the generated files can be described as "baseline" TIFF and many > are quite esoteric, with unusual bit depths, and floating point formats > (unfortunately, not HDR). Indeed, most software will not be able to > read most of the files. > > Since this is just a shell script, someone can modify it to do whatever > they like such as to also produce compressed files or play with > strip/tile options, or change image dimensions. The TIFF format is > remarkably flexible so it would be easy to produce 10x (or 100x) more > output sub-formats in order to exercise corner-cases. > > Bob -- amyspark 🌸 https://www.amyspark.me _______________________________________________ Tiff mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/tiff
