Search found 40 matches
- 2017-02-09T14:25:34-07:00
- Forum: Magick++
- Topic: Exception.cpp/throwException: memory leak with nested exceptions
- Replies: 2
- Views: 23522
Re: Exception.cpp/throwException: memory leak with nested exceptions
Great, thank you!
- 2017-02-09T08:48:53-07:00
- Forum: Magick++
- Topic: Exception.cpp/throwException: memory leak with nested exceptions
- Replies: 2
- Views: 23522
Exception.cpp/throwException: memory leak with nested exceptions
if (exception_->exceptions != (void *) NULL) { index=GetNumberOfElementsInLinkedList((LinkedListInfo *) exception_->exceptions); while(index > 0) { p=(const ExceptionInfo *) GetValueFromLinkedList((LinkedListInfo *) exception_->exceptions,--index); if ((p->severity != exception_->severity ...
- 2016-04-27T10:13:38-07:00
- Forum: Developers
- Topic: Regression: Magick++ truncating multi-page images/animated GIFs
- Replies: 6
- Views: 9258
Re: Regression: Magick++ truncating multi-page images/animated GIFs
Better late than never! Thanks for your help
- 2016-04-27T09:37:37-07:00
- Forum: Developers
- Topic: Regression: Magick++ truncating multi-page images/animated GIFs
- Replies: 6
- Views: 9258
Re: Regression: Magick++ truncating multi-page images/animated GIFs
Yes I was using the one from MagickCore, I wasn't familiar with the contents of STL.h. That looks like what I need. So if I'm understanding Magick++ correctly, I want to use a container of Magick::Image to represent multi-framed images, as a single instance of Magick::Image only represents a single ...
- 2016-04-27T09:13:40-07:00
- Forum: Bugs
- Topic: MagickCore/blob.c/ReadBlob hangs when reading from Blob created in memory
- Replies: 1
- Views: 3332
MagickCore/blob.c/ReadBlob hangs when reading from Blob created in memory
IM: 6.9.3-8 Platform: Win10, MSVC 14, x64 File: magick\blob.c, line 2851 Using Magick++ and MagickCore, the following code produces what seems to be an infinite hang on line 2851 of blob.c: auto b = Magick::Blob( [image data in uchar*], [size of data] ); auto img = Magick::Image( b ); MagickCore ...
- 2016-04-27T08:34:07-07:00
- Forum: Developers
- Topic: Regression: Magick++ truncating multi-page images/animated GIFs
- Replies: 6
- Views: 9258
Re: Regression: Magick++ truncating multi-page images/animated GIFs
Hi dlemstra thanks for the response. I tried using ReadImages along with the Magick++ image interface, and magickcore freezes. Same behavior with 3 different input files. I think I've discovered a separate bug deeper in the core; I'll have to report that separately. My psuedocode is roughly: Read ...
- 2016-04-26T14:42:57-07:00
- Forum: Developers
- Topic: Regression: Magick++ truncating multi-page images/animated GIFs
- Replies: 6
- Views: 9258
Regression: Magick++ truncating multi-page images/animated GIFs
Using version 6.9.3-8. See Magick++ / image.cpp, line 5116: void Magick::Image::read(MagickCore::Image *image, MagickCore::ExceptionInfo *exceptionInfo) { // Ensure that multiple image frames were not read. if (image != (MagickCore::Image *) NULL && image->next != (MagickCore::Image *) NULL ...
- 2015-09-14T06:25:59-07:00
- Forum: Developers
- Topic: Module tests providing int main()
- Replies: 1
- Views: 4181
Module tests providing int main()
The following modules are providing their own int main() for testing. These functions are interfering with my own unit tests (via Boost). Environment: IM 6.9.2-0, static link, MSVC 14, Windows. - OpenJPEG / t1_generate_luts.c - libPNG / pngtest.c Excluding these files from the respective projects ...
- 2013-11-13T19:52:28-07:00
- Forum: Bugs
- Topic: IM 6.8.7-5, MSVC 12, nearbyint conflict
- Replies: 2
- Views: 4668
Re: IM 6.8.7-5, MSVC 12, nearbyint conflict
You rock, thanks!
- 2013-11-13T18:09:13-07:00
- Forum: Bugs
- Topic: IM 6.8.7-5, MSVC 12, nearbyint conflict
- Replies: 2
- Views: 4668
IM 6.8.7-5, MSVC 12, nearbyint conflict
Hi, Just got VS 2013 / MSVC 12. I attempted to build ImageMagick 6.8.7-5 in debug/64 bit. I received syntax errors relating to 'nearbyint' in math.h, which is possibly a new function in the MSVC std lib impl, since I was able to compile IM without error on MSVC 11. It turns out the function #define ...
- 2013-03-20T12:54:40-07:00
- Forum: Bugs
- Topic: MagickCore / CloneImage & Animated GIFs
- Replies: 2
- Views: 4898
Re: MagickCore / CloneImage & Animated GIFs
Thanks, using the STL wrapper appears to be a more elegant solution for my workaround. Is the MagickCore CloneImage behavior, as implemented, the intended behavior? Perhaps I'm wrongly assuming that CloneImage should result in a deep clone of the image (including all of the sub-images in the ...
- 2013-03-18T18:45:03-07:00
- Forum: Bugs
- Topic: MagickCore / CloneImage & Animated GIFs
- Replies: 2
- Views: 4898
MagickCore / CloneImage & Animated GIFs
Hi, I can't seem to be able to fully/deep clone an image that contains multiple images (eg animated GIFs). Looking at MagickCore/Image.c/CloneImage, I see that if the 'detach' parameter is true, it simply drops the additional images in the sequence ( clone_image->next=NewImageList(); ). If the ...
- 2013-03-09T00:54:42-07:00
- Forum: Developers
- Topic: How to deallocate the Image memory
- Replies: 1
- Views: 4934
Re: How to deallocate the Image memory
This is more a C++ question than an ImageMagick question. That said, why not put the Images into a std::vector, and clear the vector each time before populating it?
- 2013-02-25T13:35:33-07:00
- Forum: Developers
- Topic: IM Core Enhancements
- Replies: 8
- Views: 11231
Re: IM Core Enhancements
Regarding OrderedPosterizeImageChannel(), we can define one or two threshold maps in memory, the ones what might be used most often. Do you have a partricular map that you use often? Yes, I'm exclusively using the 1x1 threshold map. The code equivalent is above, here is the relevant xml fragment ...
- 2013-02-25T12:01:41-07:00
- Forum: Developers
- Topic: WEBP: Coder enhancements/memory leak fix
- Replies: 6
- Views: 12479
Re: WEBP: Coder enhancements/memory leak fix
Just got 6.8.3-5, the changes are working well. Thanks again!