cgspace-java-helpers/src/main
Alan Orth 26d3cbd778
src/main/java: Tune FixJpgJpgThumbnails a bit
Make sure we don't modify thumbnails if the item is an Infographic
because the JPG in the ORIGINAL bundle might actually be the "real"
file, in which case the THUMBNAIL bundle would have a legitimate
".jpg.jpg" file.

Also, limit the criteria for replacement to original bitstreams
that are less than 100KiB. In my tests I found that we had 4,022
items with ".jpg.jpg" thumbnails, and the average file size of the
originals in those items was 98KiB. Without considering the large
inforgraphics, which are several megabytes apiece, the average of
the remaining 3,765 originals was ~20KiB so 100KiB should be very
safe.
2020-08-07 09:50:03 +03:00
..
java/io/github/ilri/cgspace src/main/java: Tune FixJpgJpgThumbnails a bit 2020-08-07 09:50:03 +03:00
resources/io/github/ilri/cgspace/ctasks cgspace-countries.json: Remove Palestine 2020-08-04 14:52:36 +03:00