473,614 Members | 2,268 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Big size pictures in pictuerbox is slow

Hi everybody,
I have a listbox with movie names, each time a movie is selected, an
image of the dvd cover is showed up in a picturebox.
The problem I get is that while navigating through the listbox, you get
a delay everytime you select another movie.
I would like to avoid this delay time. The size of the images go from
400k to a maximum of 1.3Mb.

Thank you very much,
Alejandro Katz

Nov 21 '05 #1
7 1397
Alejandro,

For this purpose are thumbnails. If your pictures are in a database (or the
reference to that is in the database), than you can create an extra field
for that.

I hope this helps so far.

Cor
Nov 21 '05 #2
Alejandro,

For this purpose are thumbnails. If your pictures are in a database (or the
reference to that is in the database), than you can create an extra field
for that.

I hope this helps so far.

Cor
Nov 21 '05 #3
Hi,
The problem is I need to show the dvd cover images in a mid size,
thumbnails, are very little for my application.
I know that maybe I could work with the images to lower them in
resolution and compress them better, but as they are a lot, I was
looking for a way to show the images with a better performance.
As I described, my problem is that the picturebox takes to much
resources to load every image, so while you are navigating trough the
listbox, you get like a halt in every selection, avoiding the user to
navigate up and down with speed.

Any advice will be greatly appreciated,

Alejandro Katz
Cor Ligthert [MVP] wrote:
Alejandro,

For this purpose are thumbnails. If your pictures are in a database (or the
reference to that is in the database), than you can create an extra field
for that.

I hope this helps so far.

Cor


Nov 21 '05 #4
Alejandro,

You sound like somebody who has a family of 12 kids and want to go with his
wife and all his kids on holiday, however he has only a Fiat 500.

http://storm.tocmp.com/fiat500c1951.htm

I think it is than a holiday with only his wife, or a holiday near his
house.

It is or speed and show thumbnails or no speed and show the whole image.

However, you can set yourself how big a thumbnail has to be.

http://msdn.microsoft.com/library/de...imagetopic.asp

I hope this helps,

Cor
Nov 21 '05 #5
Hi Cor,
I've got a good equipment, PIV ,512MB.
What is the real benefit of using the thumbnail ?
What if a use an image array, and put all my images in memory, would
that be a memory hog ?.
Thanks for your replay,

Alejandro

Nov 21 '05 #6
Alejandro,

The way this is forever done is showing thumbnail buttons and on the click
on that showing the original. Maybe will this in future change however at
the moment this is in my opinion the standard method.

I don't know another solution.

Cor

<al*****@gmail. com> schreef in bericht
news:11******** **************@ g43g2000cwa.goo glegroups.com.. .
Hi Cor,
I've got a good equipment, PIV ,512MB.
What is the real benefit of using the thumbnail ?
What if a use an image array, and put all my images in memory, would
that be a memory hog ?.
Thanks for your replay,

Alejandro

Nov 21 '05 #7
al*****@gmail.c om wrote:
Hi Cor,
I've got a good equipment, PIV ,512MB.
What is the real benefit of using the thumbnail ?
What if a use an image array, and put all my images in memory, would
that be a memory hog ?.
Thanks for your replay,

Alejandro


The real benefit of using thumbnails is that you're not shifting a
shitload of data like you are if you're using full size images. Pushing
around alot of data requires time and that is what's making your app
slow. Storing alot of covers in an array would be a memory hog IMO.
Nov 21 '05 #8

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

Similar topics

0
295
by: alekatz | last post by:
Hi everybody, I have a listbox with movie names, each time a movie is selected, an image of the dvd cover is showed up in a picturebox. The problem I get is that while navigating through the listbox, you get a delay everytime you select another movie. I would like to avoid this delay time. The size of the images go from 400k to a maximum of 1.3Mb. Thank you very much, Alejandro Katz
23
1814
by: Doug van Vianen | last post by:
Hi, Is there some way in JavaScript to stop the downloading of pictures from a web page? Thank you. Doug van Vianen
13
2186
by: gooze | last post by:
Hello I am working on an applicaion that shows several pictures on a webpage. These pictures are saved in a MySQL DB as BLOB. I noticed, that the web server suffers in its performance by printing the pictures. Let's say there are 20 pictures to show, there also are 20 queries to do. This is the way I am doing it up to now: index.php <?php
2
4055
by: neuneudr | last post by:
Hi everybody, I'm scratching my head with a CSS problem. I want to have the following (the two pics have these size for a good reason, the whole point of the page is basically to show these pices at these fixed sizes) : spacer - fixed size picture - spacer - fixed size picture - spacer
0
8180
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
8623
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8576
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...
1
8275
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8429
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
5538
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
4050
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4121
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2566
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

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.