Connecting Tech Pros Worldwide Help | Site Map

Loading Various Image Types into Image Controls

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 13th, 2005, 02:04 PM
Lauren Quantrell
Guest
 
Posts: n/a
Default Loading Various Image Types into Image Controls

Is there any speed difference or advantage to loading different types
of images from a folder residing on a client machine into an Access
Image Control on a form?

For example, if I have a folder of .JPGs and a folder of .BMPs each
with the same images (stored in the two different formats) will the
Image Control load faster with a JPG or a BMP or does it not make a
difference?

Thaks,
lq


  #2  
Old November 13th, 2005, 02:04 PM
Stephen Lebans
Guest
 
Posts: n/a
Default Re: Loading Various Image Types into Image Controls

Assuming the Bitmap files are stored uncompressed, then the compressed JPG
files will always take longer to load. If the Images are stored on a
network drive then you will have to test to determine whether network speed
or local decoding will have the largest impact on displaying the images.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Lauren Quantrell" <laurenquantrell@hotmail.com> wrote in message
news:1128446723.383464.261180@g47g2000cwa.googlegr oups.com...[color=blue]
> Is there any speed difference or advantage to loading different types
> of images from a folder residing on a client machine into an Access
> Image Control on a form?
>
> For example, if I have a folder of .JPGs and a folder of .BMPs each
> with the same images (stored in the two different formats) will the
> Image Control load faster with a JPG or a BMP or does it not make a
> difference?
>
> Thaks,
> lq
>[/color]


  #3  
Old November 13th, 2005, 02:04 PM
David W. Fenton
Guest
 
Posts: n/a
Default Re: Loading Various Image Types into Image Controls

"Lauren Quantrell" <laurenquantrell@hotmail.com> wrote in
news:1128446723.383464.261180@g47g2000cwa.googlegr oups.com:
[color=blue]
> For example, if I have a folder of .JPGs and a folder of .BMPs
> each with the same images (stored in the two different formats)
> will the Image Control load faster with a JPG or a BMP or does it
> not make a difference?[/color]

Well, since a JPG is going to be converted to a bitmap before being
displayed (Access can't deal with anything but bitmaps -- if it's
displaying a JPG or GIF, it's because behind the scenes the source
file has been opened and converted to a bitmap for display), I'd say
it would surely be faster to store the bitmaps.

That said, bitmaps are not of much use outside Access, and take up
an awful lot of space. One of my clients' applications displays
pictures that they've created for their website and for sending to
clients. In that case, displaying the pictures in Access is a
secondary purpose, so it's no real issue that they are being
converted, as storing them for Access efficiency would subvert the
primary use for the graphics.

So, if the primary purpose for these graphics is for Access display,
then store tham as bitmaps. If the primary purpose is outside Access
and you're just using Access to display graphics created for other
purposes, then keep them in the original format.

In any event, the conversion lag is small enough to not matter.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.