PROBLEM:
The error message "image file XXX is too short" is very confusing.
It obviously has nothing to do with the size of the image but with the images
header information.
com.adobe.epubcheck.bitmap.BitmapChecker.java : line 78
int rd = CheckUtil.readBytes(in, header, 0, 4);
if (rd < 4) {
report.error(null, 0, 0, "image file " + path + " is too short");
SOLUTION:
At the moment I can't tell a better error message as I don't understand the
deeper sense of this check. Does it mean the image / header is corrupt?
Or what else?
If someone can tell I'll patch this issue...
Original issue reported on code.google.com by tobias.c...@gmail.com on 31 May 2013 at 9:34
Original issue reported on code.google.com by
tobias.c...@gmail.com
on 31 May 2013 at 9:34