• Post Reply Bookmark Topic Watch Topic
  • New Topic

Image file Properties -> height and width

 
david allen
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have written the following code to obtain the height and width properties of a gif series of gif files. The oly problem is that is takes so long to process. Does anyone have an alternative method or faster method to find this information.
File file = (File)i.next();
ImageIcon image = newImageIcon(file.getAbsolutePath());
photos.add(newPhoto(file.getName(),date,0,image.getIconWidth(),image.getIconHeight()));
Regards David
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!