473,387 Members | 1,597 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Image extraction

I know very little about Access but a friend who probably knows less
than I do has a database in Access 2002 that is 155MB. There are
images in the database we would like to extract, but neither of us has
an idea how to do it. I'd appreciate any pointers on how to go about
this.

Nov 19 '06 #1
7 2990
"Jim Smith" wrote
I know very little about Access but a friend
who probably knows less than I do has a data-
base in Access 2002 that is 155MB. There are
images in the database we would like to extract,
but neither of us has an idea how to do it. I'd
appreciate any pointers on how to go about
this.
How are they stored?

If they are stored as OLE Objects, then take a look at MVP Stephen Lebans'
http://www.lebans.com/oletodisk.htm. If they are stored in OLE Fields, but
not as true OLE objects, there's some code at http://accdevel.tripod.com in
the BLOB example that you might use to extract them and code to write them
to a temporary file (you can assign your own file names, rather than using a
temporary file).

If neither of these, post back here and perhaps someone can offer a
suggestion.

Larry Linson
Microsoft Access MVP
Nov 19 '06 #2
On Sun, 19 Nov 2006 03:15:27 GMT, "Larry Linson"
<bo*****@localhost.notwrote:
>"Jim Smith" wrote
I know very little about Access but a friend
who probably knows less than I do has a data-
base in Access 2002 that is 155MB. There are
images in the database we would like to extract,
but neither of us has an idea how to do it. I'd
appreciate any pointers on how to go about
this.

How are they stored?

If they are stored as OLE Objects, then take a look at MVP Stephen Lebans'
http://www.lebans.com/oletodisk.htm. If they are stored in OLE Fields, but
not as true OLE objects, there's some code at http://accdevel.tripod.com in
the BLOB example that you might use to extract them and code to write them
to a temporary file (you can assign your own file names, rather than using a
temporary file).

If neither of these, post back here and perhaps someone can offer a
suggestion.

Larry Linson
Microsoft Access MVP
Larry:
I've muddled in the database and looking at the forms he has
in design view, there is a "frame" for an image. The name on the
window is "bound image frame: image".
I don't know if that helps.
I'll try looking at the sites you've pointed out to see if I
can figure this out. Thanks.
Nov 19 '06 #3
MLH
I only caught a piece of this thread, sorry. Not to overstate
the obvious, but will the images open in an editor by dbl-
clicking them? One-by-one, they could be opened this way
in an editor that you might be able to save them to disk.
Nov 19 '06 #4
On Sun, 19 Nov 2006 10:37:52 -0500, MLH <CR**@NorthState.netwrote:
>I only caught a piece of this thread, sorry. Not to overstate
the obvious, but will the images open in an editor by dbl-
clicking them? One-by-one, they could be opened this way
in an editor that you might be able to save them to disk.
I'm not familiar with Access in the slightest sense.
My friend showed me enough to view a report with the images in
there, but we are unable to do anything much more than that.
He wants to migrate to a database system that's more user
friendly and it looks like I'll have to learn the program in order to
move him off it.

Nov 19 '06 #5

"Jim Smith" <no******@notlikely.comwrote
I'm not familiar with Access in the slightest
sense. My friend showed me enough to view
a report with the images in there, but we are
unable to do anything much more than that.
He wants to migrate to a database system
that's more user friendly and it looks like I'll
have to learn the program in order to
move him off it.
What "database system that's more user friendly" did you friend (or you)
have in mind. I ask because, arguably, there aren't any.

IMNSHO, there certainly aren't any "more user friendly" that have as much
capability as Access. Be careful that you don't choose something that's so
easy it won't do what you need done.

Larry Linson
Microsoft Access MVP


Nov 20 '06 #6
"Jim Smith" wrote
I've muddled in the database and looking at the forms he has
in design view, there is a "frame" for an image. The name on the
window is "bound image frame: image".
Jim, there are "Image Controls," and there are "Unbound Object Controls" and
"Bound Object Controls." Please look again, and if the Properties dialog is
not visible, click the "frame" to select it, then right-click, and choose
"Properties." In the bar at the top of the Properties dialog, read what it
says before the ":" (colon) and post back with the exact words.

But, even before you do, if that is "Bound Object Frame:", double-click the
image itself in Form view, and see if it doesn't open the image processing
software you / your user has registered for that type of image file. If it
does, then File | Save or File | Save As may work to allow you to save the
image, without going to a lot of trouble to "extract" it.

Larry Linson
Microsoft Access MVP

Nov 20 '06 #7
On Mon, 20 Nov 2006 03:56:18 GMT, "Larry Linson"
<bo*****@localhost.notwrote:
>"Jim Smith" wrote
I've muddled in the database and looking at the forms he has
in design view, there is a "frame" for an image. The name on the
window is "bound image frame: image".

Jim, there are "Image Controls," and there are "Unbound Object Controls" and
"Bound Object Controls." Please look again, and if the Properties dialog is
not visible, click the "frame" to select it, then right-click, and choose
"Properties." In the bar at the top of the Properties dialog, read what it
says before the ":" (colon) and post back with the exact words.

But, even before you do, if that is "Bound Object Frame:", double-click the
image itself in Form view, and see if it doesn't open the image processing
software you / your user has registered for that type of image file. If it
does, then File | Save or File | Save As may work to allow you to save the
image, without going to a lot of trouble to "extract" it.
Larry:
I appreciate your patience. I've made a few more developments.
Looking at the entry forms he's made, I double click on an
image and get this message: "The Picture object doesn't support the
attempted operation. If you want to perform the operation, delete the
OLE object, and then embed or link it again."
FYI: "Properties" is grayed out when I right click.
I'm going to guess and say these are not "true OLE objects" as
you said in a previous post.

Nov 21 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: khaleel.alyasini | last post by:
Hello sirs & madams, I'm currently working on DCT compression algorithm as my project. My knowledge on C++ and DSP is rather weak/moderate. I was wondering if any could help me and teach me the...
1
by: Rico | last post by:
Hello, I have an ole object field (Access XP/2002) which I store images in. I have a couple of questions regarding this; is it possible to determine the image dimensions? Secondly, is there...
7
by: bcutting | last post by:
I am looking for a way to take a large number of images and find matches among them. These images may not be exact replicas. Images may have been resized, cropped, faded, color corrected, etc. ...
3
by: nor | last post by:
Hi, I've application to capture video of image and grab the still image. It runs well until I put loop to regrab the still images many times automatically. It gives one exception error:...
0
by: buzzer | last post by:
i would like to build a software coding which can classify image and pattern using artificial neural networks the idea is it should be able to do feature extraction on a certain image (can consist...
3
by: dec01louis | last post by:
Hi all, actually i'm now doing something on license plate recognition system for my project. The first step would be the license plate extraction algorithm which means it is needed to extract a...
16
by: EM.Bateman | last post by:
Working on Visual Studio .Net I've implemented a class: #ifndef CONTRIBUTOR_H #define CONTRIBUTOR_H enum Gender {male=1, female, unk}; #include <iostream> #include <iomanip> #include...
1
by: jartan | last post by:
Using the DocBook DTD, follow a two step conversion, to first extract the text and then extract the image A challenge faced is to extract the image links from the source document into xml when...
0
by: MikeY | last post by:
I'm having trouble extaction my image from my resource file using DictionaryEnumerator & ResourceReader. String extractions are good. I've been trying to look online for exact info on this, but...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.