• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Devaka Cooray
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
Bartenders:

java and IMG

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,

I have a IMG( image file type dot IMG) file containing 3 images.(IMG contain 3 images). and i need to
print it through java 2D graphics. But have a problem of
reading IMG and getting the required images (Image or bufferedImage cannot specify the required image). If anybody know how to read each image from IMG please forward.

indika
[removed the email address - please UseTheForumNotEmail]
 
Sheriff
Posts: 3065
12
Mac IntelliJ IDE Python VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't think there's really a standard for the .IMG extension. Sometimes it may refer to a disc image of a CD or DVD, and other times it can refer to a proprietary bitmap format. You say your .IMG file contains three "images", but how are they encoded? GIF, JPEG, PNG, bitmap? Assuming you know how they are encoded, you might in theory be able to split your .IMG file into its three component pieces and recover the images.
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

indika lakmal wrote:


Please check your private messages for an important administrative matter.

Also do take out time to go through http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
 
Bartender
Posts: 2911
150
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


and welcome to java ranch indika lakmal
 
Surfs up space ponies, I'm making gravy without this lumpy, tiny ad:
The new gardening playing cards kickstarter is now live!
https://www.kickstarter.com/projects/paulwheaton/garden-cards
reply
    Bookmark Topic Watch Topic
  • New Topic