Register / Login
Other JSE/JEE APIs
How to write a BufferedImage to a BLOB type
posted 12 years ago
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
and convert to a
using a JDBCImageDecoder.
Now, I have my
and I can process them using the appropriate filters (
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
have posted this in the JDBC or in the awt / swing forum...)
Thanks and have a nice day
How to store & retrieve a video file from database?
How to get the BLOB
need to read the blob and convert it into a file
JDBC compare the content of two tables
basic, I think: get InputStream from OutputStream for image