-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't read image file; unexpected problem for URI #212
Comments
Java can't natively read CMYK JPEGs. See: |
@danfickle |
@mapleLeat Sorry, but PDFBox (the replacement for iText OpenHtmlToPDF is using) does not support anything but sRGB at the moment. I plan to extend the org.apache.pdfbox.pdmodel.graphics.image.LosslessFactory of PDFBox to support extended colorspaces, bit-depths and CMYK. But I did not have the time yet to do so. |
PDFBox supports embedding of CMYK jpegs since June 2017. |
@rototor thanks,trouble you |
<img id="bgimg" src="file:///33.jpg" style="width:100%;height:100%;margin-top:0px;margin-left:0px;display:block;" />
''img'' tag failed to read picture, print warning.
In my test project, most pictures can be used normally.
But there are individual pictures that cannot be used. I don’t know why.
For example using this image will fail and issue a warning:
http://res.cloudinary.com/daifiltp4/image/upload/v1524278777/33.jpg
The text was updated successfully, but these errors were encountered: