I have an image in BMP format from Oracle table,
but RtfWriter don't print it
this is my code
String sql = "SELECT kod,blob pic FROM cr_blob_tbl
WHERE kod=6";
ResultSet rslt = stmt.executeQuery(sql);
if ( rslt.next() )
{
byte blobVal [] = rslt.getBytes("pic");
Image image = Image.getInstance(blobVal);
Chunk ch = new Chunk(image,0,0);
float x = image.width();
float y = image.height();
document.add(ch);
}
i'm not geting the picture but i'm geting the size of
it (width and height)
What am I missing?
__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions