Questions tagged [image4j]

An image handling library for Java supporting bmp and icon formats.

image4j is an open source image handling library for . It can be used to read and write images of the types and .

3 questions
1
vote
0 answers

image4j is ICODecode.read is throwing IOException

When using ICODecoder.read(new File("path")); in IntelliJ IDEA the read is underlined in read and states "java: unreported exception java.io.IOException; must be caught or declared to be thrown" in the build output. How can I fix this? import…
0
votes
0 answers

Finding best fit from a list of images

I'm using a library called Image4j to load an ico file, choose one of the images from the list, scale it (if necessary) and put it in a JLabel as an ImageIcon. The library has a method read(File icoFile) which returns a List , a list…
Dziugas
  • 1,500
  • 1
  • 12
  • 28
-1
votes
1 answer

Reading ICO file in android along with all sub-images

I have found Is there a way to decode a .ICO file to a resolution bigger than 16x16? from 2 years ago and the best suggestion was to use image4j. Unfortunately it does not work under android in particular (also), because the classes…
Igor
  • 1,582
  • 6
  • 19
  • 49