Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #1581

Re: using JAI to create a

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!novia!news-out.readnews.com!transit3.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail
From "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Subject Re: using JAI to create a
Message-ID <71bae4561395c@uwe> (permalink)
X-Comment-To comp.lang.java.gui
Newsgroups comp.lang.java.gui
In-Reply-To <1178377882.053099.72580@p77g2000hsh.googlegroups.com>
References <1178377882.053099.72580@p77g2000hsh.googlegroups.com>
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92]
Lines 37
Date Wed, 27 Apr 2011 15:34:09 GMT
NNTP-Posting-Host 96.60.20.240
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1303918449 96.60.20.240 (Wed, 27 Apr 2011 10:34:09 CDT)
NNTP-Posting-Date Wed, 27 Apr 2011 10:34:09 CDT
Organization TDS.net
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:1581

Show key headers only | View raw


  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 | NextPrevious in thread | Find similar | Unroll thread


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