473,785 Members | 2,435 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2508
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.goo glegroups.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.goo glegroups.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
5301
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 this handler gets the image from a database. Please check the various image formats. (The images are stored in a SQL database as Image type.) I post you a demo HTTP handler below. I guess, it's the ViewState which messes up (in Windows Forms I...
2
1657
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 my database. Currently when I load the image on to the page it loads on to the full page using the following code: - Response.ContentType = dr.ToString();
3
7322
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?? thanks -- AdamPC@hotmail.com
3
1606
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 pictures coming to view consecutively, even on a 1.6 Ghz processor with 512 MB RAM. The pictures are loaded in the Form_Load event. Is there a way for them to all load perfectly before the user sees the form? Thanks,
3
3531
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 form. It seems like the controls erase the background and this cause a flicker everytime a form i loaded. When I hide and show forms that are already loaded there's no flicker, it's just when the form is loaded the first time.
10
13414
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 a problem. I am using chunk_split(data) and the base64_encode and base64_decode on the files. I do a select from the database, and then echo the image (with header(Content Type: image/jpeg) and the decoded image displays fine. Yes, I have...
5
8590
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 treeview nodes through an XML file. As part of each node in the XML, I'm using an attribute that indicates the name of a sub form to load. As part of all these little child forms, the main control is a panel, which I then assign its parent to the...
5
2828
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 look for why it is slowing down. I thought about the DB first and added NOLOCK to a couple of stored procedures that were being run, but with no effect. Can someone offer some tips on where to start looking or how I can begin to diagnose this...
4
1651
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 some suggestions on other librarys for image processing. Those libs, don't need to be elaborate or something, resizing and cutting the image into smaler parts would be sufficient. However, I'd like that lib to be able to handle a variety of...
0
9645
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10147
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9949
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8971
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6739
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4050
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.