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


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

Re: How o convert Buffere

From "Thomas Fritsch" <thomas.fritsch@THRWHITE.remove-dii-this>
Subject Re: How o convert Buffere
Message-ID <newscache$mlcuej$e6f$1@news.ops.de> (permalink)
Newsgroups comp.lang.java.gui
References <1173780263.394139.80820@n33g2000cwc.googlegroups.com>
Date 2011-04-27 15:31 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
satyasunil.kvv@gmail.com wrote:
> I am getting ClasscaseException.
No, you are getting a ClassCastException.
<http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ClassCastException.html>
> 
> BufferedImageOp op=new
> AffineTransformOp(AffineTransform.getScaleInstance(scalex_width,scalex_width),null);
> 		im=op.filter(im,null);
> 		Raster raster = im.getData();
> 		DataBufferByte ddb = (DataBufferByte)raster.getDataBuffer();
> 		output = ddb.getData();

And what is your question?

-- 
Thomas

---
 * 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

How o convert BufferedIma "satyasunil.kvv" <satyasunil.kvv@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
  Re: How o convert Buffere "Thomas Fritsch" <thomas.fritsch@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000

csiph-web