Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to write a BufferedImage to a BLOB type  RSS feed

Nicolas Stern
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody - thanks in advance for any input on that topic.

I'm doing image processing using AWT and 2D. Images are stored in a RDBMS as BLOB Type, which I get using JDBC and convert to a BufferedImage using a JDBCImageDecoder.

Now, I have my BufferedImage and I can process them using the appropriate filters (ConvolveOp e.g.)

Writing the BufferedImages to disk or display on screen is easy. But I can't get to write them to a BLOB Object. Any Hint ?

(I'm speaking of oracle.sql.BLOB objects, not java.sql.Blob).

(I don'know if I should have posted this in the JDBC or in the awt / swing forum...)

Thanks and have a nice day
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!