473,386 Members | 1,754 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,386 software developers and data experts.

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

Nov 13 '05 #1
2 2473
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" <la*************@hotmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
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

Nov 13 '05 #2
"Lauren Quantrell" <la*************@hotmail.com> wrote in
news:11**********************@g47g2000cwa.googlegr oups.com:
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?


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
Nov 13 '05 #3

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

Similar topics

11
by: Detlef Hüttenbach | last post by:
Whereas loading tiffs and pngs from file into an Image WebControl work, the images aren't shown when loaded from streams: In a WebForm, the image's property "ImageUrl" is set to a handler, and...
2
by: Irfan Akram | last post by:
Hi Guys, I asked this question yesterday, but have not yet received a suitable answer. I hope you guys can help me out. I want to load an image on to a web-page. The image is alreday stored in...
3
by: ACaunter | last post by:
Hi there, I was wondering how i could have a slider bar or something on my ASP.Net page to control the image quality.. like change it's sharpness, brightness, and contrast?? is that possible??...
3
by: Nathan | last post by:
Hi, I have a project with various forms that each include a number of picture boxes and panels with background images. When these forms first load, they kind of load in "pieces", with the...
3
by: Per Dunberg | last post by:
Hi all, I have to develop a "skinned" application and I have a problem with the graphics. When a form is loaded and displayed there's aways a flicker where all the controls are located on the...
10
by: eholz1 | last post by:
Hello Members, I am setting up a photo website. I have decided to use PHP and MySQL. I can load jpeg files into the table (medium blob, or even longtext) and get the image(s) to display without...
5
by: marfi95 | last post by:
I have a form that has a left and right panel. In the left panel is a treeview. The right panel I want to change dynamically based on the type of node selected. What I'm doing is loading the...
5
by: =?Utf-8?B?V2FubmFiZQ==?= | last post by:
We have a page that is loading very slow. There is not a lot of data, not a lot of users are connected at the same time and the page does not produce an error, so I am not sure where to start to...
4
by: polemon | last post by:
Hi! I'd like to manipulate Images of various types (PNG, JPEG, GIF, BMP, maybe more) with a C++ program. Now I've found the Cimg library, but before diving deeper into that lib, I'd like to have...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.