Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #1581
| From | "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: using JAI to create a |
| Message-ID | <71bae4561395c@uwe> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <1178377882.053099.72580@p77g2000hsh.googlegroups.com> |
| Date | 2011-04-27 15:34 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui mlevin wrote: >I'm trying to use JAI to create a thumbnail of a JPEG and no matter >what I do, I keep getting the following stack trace: .. > java.io.IOException: reading encoded JPEG Stream .. >Any suggestions? I'm baffled. Whenever a "why cannot 'a' API open 'b' media and do..?" type question arises, I wonder, did the OP check that the media in question (or its codec or internal format) is compatible with the API? So, can you do operations on this image from the command line using JAI? Can you do the operation using the example media supplied* with JAI? * Is there any example media with JAI? Note also that servlets and serverside code is harder to develop and debug than command line classes, so I advise getting an example running, that works from the command line - before wonderring why the servlet breaks. -- Andrew Thompson http://www.athompson.info/andrew/ Message posted via JavaKB.com http://www.javakb.com/Uwe/Forums.aspx/java-gui/200705/1 --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Find similar | Unroll thread
using JAI to create a thu "mlevin" <mlevin@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000 Re: using JAI to create a "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000
csiph-web