Issue loading in map on utiliti (tileset path issue?) #728
nightm4re94
started this conversation in
Old Forum
Replies: 1 comment
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). javax.imageio.IIOException: Invalid argument to native writeImage
at com.sun.imageio.plugins.jpeg.JPEGImageWriter.writeImage(Native Method)
at com.sun.imageio.plugins.jpeg.JPEGImageWriter.writeOnThread(JPEGImageWriter.java:1067)
at com.sun.imageio.plugins.jpeg.JPEGImageWriter.write(JPEGImageWriter.java:363)
at javax.imageio.ImageWriter.write(ImageWriter.java:615)
at javax.imageio.ImageIO.doWrite(ImageIO.java:1622)
at javax.imageio.ImageIO.write(ImageIO.java:1588)
at de.gurkenlabs.litiengine.util.io.Codec.encode(Codec.java:135)
at de.gurkenlabs.litiengine.resources.SpritesheetResource.<init>(SpritesheetResource.java:41)
at de.gurkenlabs.utiliti.components.Editor.loadSpriteSheets(Editor.java:749)
at de.gurkenlabs.utiliti.components.Editor.load(Editor.java:328)
at de.gurkenlabs.utiliti.Program.lambda$0(Program.java:53)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Please try saving the image as .png and see if the problem persists. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022).
Posted: 2020-06-25 18:08:09
User: LoopTurn [] (age: 871 days 🙌; posts: 3)
I have a similar issue as this post here (https://forum.litiengine.com/d/120-why-can-t-i-import-my-tileset), but after using a text editor to view the file paths everything looks correct for the most part. How come I get the same error as that posts but my file paths look fine.
https://mega.nz/file/lb5mxCRI#ZJZxyB\_COA7SZAGGBgGK0GLTaPyDPBinuMJvyk\_-vwQ
^ Resource files
Beta Was this translation helpful? Give feedback.
All reactions