简体   繁体   中英

How extract image from OLE object from MS-Access?

I have the MS Access databese with images fields and i need to extract this images to byte array. The problem is that into database images is inside OLE container, and when i get images from database as BLOB, i have OLE container with image inside and i cannot display and print this image. I've try this Converting an OLE Image Object from MS Access for use in .NET way to extract images, but it works only with BMP images inside the container. I use the JDBC-ODBC bridge.

So, can anybody help me?

I have not tried it but maybe this could work: http://poi.apache.org/ .

From the site:

The project provides APIs for the OLE2 Filesystem (POIFS) and OLE2 Document Properties (HPSF).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM