Wrox Programmer Forums
|
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 25th, 2005, 11:30 AM
Registered User
 
Join Date: Jun 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default CImg problem

Hello All!

I am working on image processing and using the library CImg. Constructor of CImg is used to load the image file (.bmp etc)...
Problem is that when the destructor of CImg Object is called, it doesnt release the full memory.

e.g if i load an image of 225kb...CImg creates an object of 20kb and release 20 kb when destructor is called. 220kb are left unreferenced in the memory.

This is causing hell of problem as i want to process 10-15 images per second.

Plz help me in this regard

 
Old July 4th, 2005, 02:49 AM
Registered User
 
Join Date: Jul 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I strongly suggest you post your question to the
dedicated CImg Forum, where the answer will be certainly
more precise :

http://sourceforge.net/forum/forum.php?forum_id=334630





Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with CImg library franco82 C++ Programming 0 December 1st, 2006 07:21 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.