Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Image use too much memory

Status
Not open for further replies.

TheWizard78

Programmer
Jun 28, 2004
18
CA
Hi groups

My problem is related to image control.
On my form, I have an image and a button control.
When I click on my button, it assign a jpeg picture to the image object. My jpeg picture is around 571 Kb.
Before I click on my button, if I go in the task manager under process, my vfp8.exe use 25 476 Kb. After I assign my jpeg of 571 Kb, the memory increase to 36 976 Kb. A difference of 11 500 Kb for a jpeg file of 571Kb. Could someone explain me why it use too much memory for a single jpeg of 571 kb..

Robert
 
Hi Robert,

Jpeg is compressed as a file. In memory it is not compressed.

Regards,

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top