• Post Reply Bookmark Topic Watch Topic
  • New Topic

Thumbs.db image extraction

 
zak hilton
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am looking for a way to extract the images from the thumbs.db file in java. I have tried using the method provided by another Person here. This is the code they have used




The segment of his code i am having trouble with is



I am getting the error JPEGImageDecoder cannot be resolved as a type. Any help would be greatly appreciated
 
Tony Docherty
Saloon Keeper
Posts: 3142
72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should avoid using classes in com.sun packages wherever possible as their availability is not guaranteed. The following is taken from the API doc for this class
"Note that the classes in the com.sun.image.codec.jpeg package are not part of the core Java APIs. They are a part of Sun's JDK and JRE distributions. Although other licensees may choose to distribute these classes, developers cannot depend on their availability in non-Sun implementations. We expect that equivalent functionality will eventually be available in a core API or standard extension."

Please BeForthrightWhenCrossPostingToOtherSites (← click). We all give up our time here for free and would rather not waste it answering a question that has already been answered elsewhere.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!