I though that is what this line was
Image image( "100x100", "white" );
? - however this was in fact just test code, seem to be working as I intended it by reading from memory.
Search found 9 matches
- 2011-10-28T04:48:34-07:00
- Forum: Users
- Topic: program crashes at first image magic line
- Replies: 2
- Views: 4812
- 2011-10-28T04:45:45-07:00
- Forum: Users
- Topic: how to destory image ?
- Replies: 2
- Views: 4664
Re: how to destory image ?
UPDATE:: Never mind, something unrelated, over looked. De-referenced images are automagically deleted. Run your code in a loop for example 1000 iterations. If the memory stays more or less constant, it suggests the image is deleted as expected. If the memory consumption uniformly increases, that ...
- 2011-10-27T12:48:34-07:00
- Forum: Users
- Topic: how to destory image ?
- Replies: 2
- Views: 4664
how to destory image ?
I have this in a loop Image image(mWidth,mHeight,"RGB",CharPixel,rgbImage); image.rotate(90); image.write(0,0,mHeight,mWidth,"RGB",CharPixel,pushImage); Memory is not being freed up and I dont quite understand how to do so? This also does not work Image * image; image = new Image(mWidth,mHeight,"RGB ...
- 2011-10-27T05:21:28-07:00
- Forum: Users
- Topic: program crashes at first image magic line
- Replies: 2
- Views: 4812
program crashes at first image magic line
I'm using imageMagic in a dll compilation to rotate an image. Seem no matter what function I use, other then the init, will put may app in a loop until it crashes. InitializeMagick(""); //executes Image image( "100x100", "white" ); //dies here [Caught exception: Magick ...
- 2011-10-26T12:09:55-07:00
- Forum: Users
- Topic: new to imagemagick need help installing api on windows
- Replies: 5
- Views: 9071
Re: new to imagemagick need help installing api on windows
ok , I re did it all and its working. not sure what the issue was?
- 2011-10-26T12:09:20-07:00
- Forum: Users
- Topic: using the api, can't create image from array
- Replies: 0
- Views: 3260
using the api, can't create image from array
using the magic namespace I tied to create an image from my bitarray. Image image(1280,720,"RGB",CharPixell,rgbImage); but the app freezes and crashes . rgbImages is a char pointer used like so: char * rgbImage = NULL; rgbImage = (char *)malloc( size); size is my step btypes * y. Did I do something ...
- 2011-10-26T07:31:25-07:00
- Forum: Users
- Topic: new to imagemagick need help installing api on windows
- Replies: 5
- Views: 9071
Re: new to imagemagick need help installing api on windows
I decided to try again but put the files at c:\imagemagick instead of my program files. Now it runs, I see the progress bar moving but no files are created where I specified them to be? The progress bar takes about 5 seconds to complete. ::update:: building the visualDynamicMT project gave me the ...
- 2011-10-26T07:08:08-07:00
- Forum: Users
- Topic: new to imagemagick need help installing api on windows
- Replies: 5
- Views: 9071
Re: new to imagemagick need help install on windows
I'm after the api so I can use this in c++, would I be wrong in thinking that is for the command line only? Sorry I should have specified. ( added to topic title )
- 2011-10-26T06:36:31-07:00
- Forum: Users
- Topic: new to imagemagick need help installing api on windows
- Replies: 5
- Views: 9071
new to imagemagick need help installing api on windows
I'm following the install-windows.txt and when I get to the part where I run configure.exe and hit finish, it never build a thing. I do see a flash of a small screen that could possibly say "warning" but it quickly is gone. Either way no files are created? This is a 64 bit win7 os, is that matters.