473,386 Members | 1,883 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.

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 1381
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.googlegr oups.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.com 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
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...
23
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
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...
2
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...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.