TSL
TSL

Reputation: 161

How to extract specific icon from ico file with java?

I want to create a java application that can extract specific sized icon from an ico file.

I.e. extract a 64 x 64 icon from a multi-icon Ico file.

Is there any way of doing this in java?

Upvotes: 1

Views: 486

Answers (1)

Dan D.
Dan D.

Reputation: 32391

Java doesn't support .ico files by default. It supports .png, .gif, and .jpg. For reading the .ico files, you may need to find an ImageIO extension.

Upvotes: 2

Related Questions