One of my personal projects at the moment is a database of slides I have taken over the past few years (see my website for some examples, it's a bit broken just now though). I started off by using MS Access (ick!) so I'm sticking with it for now (although MySQL looks good as a replacement).
One of the fields in the database is a thumbnail of the slide. In the past I've added a few of these manually, but it's a bit of a pain to open the file in Paint Shop Pro, copy it and paste it into the DB.
I'm looking for a way to automate this process but of course Access doesn't seem to make this easy. The images go into an OLE object field (ick ick ick!).
I can dump out an existing object via DBI::ODBC but I can't work out how to create an OLE object from a file using Perl. Would something in Win32::OLE help?
Or should I just move the whole thing across to a proper database and store the images as BLOBs? I had thought about keeping the images as separate files but that makes copying/moving the database more difficult.
In reply to Handling pictures with DBI and Access by kevin_i_orourke
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |