我在本地运行时从ImagesService调用applyTransform()遇到问题。当部署到GAE时,映像可以很好地转换,我在本地收到500错误
例外:
java.lang.IllegalArgumentException: Failed to read image
at com.google.appengine.api.images.ImagesServiceImpl.convertApplicationException(ImagesServiceImpl.java:397)
at com.google.appengine.api.images.ImagesServiceImpl.applyTransform(ImagesServiceImpl.java:88)
at com.google.appengine.api.images.ImagesServiceImpl.applyTransform(ImagesServiceImpl.java:65)
...
我正在从tiff转换为png,并尝试添加各种库作为依赖项,但无济于事(jai-imageio,tom gibara's,javaVP8)。我继续收到此警告:
Nov 26, 2012 6:30:37 PM com.google.appengine.api.images.dev.LocalImagesService init
WARNING: No image reader found for format "tif". An ImageIO plugin must be installed to use this format with the DevAppServer.
关于我如何能够在GAE环境之外进行这项工作的任何建议?
最佳答案