Search found 23 matches

by drunkensapo
2014-09-13T13:33:56-07:00
Forum: Developers
Topic: Compiling magick++ for iOS
Replies: 4
Views: 7320

Compiling magick++ for iOS

Dear all, I'm interested in compiling magick++ for iOS. I've already tried a project which compiles the C part of magick for iOS (see https://github.com/marforic/imagemagick_lib_iphone ). To the best of my knowledge, there are no posts/scripts or anything describing that. There is only a report of a...
by drunkensapo
2014-01-17T11:03:53-07:00
Forum: Magick++
Topic: Memory leaks when creating a simple empty image
Replies: 3
Views: 11933

Re: Memory leaks when creating a simple empty image

Under ubuntu 13.10 with gcc 4.8.1 and magick 6.7.7-10 same program does no leak. I think this is a valgrind issue. ==12023== LEAK SUMMARY: ==12023== definitely lost: 0 bytes in 0 blocks ==12023== indirectly lost: 0 bytes in 0 blocks ==12023== possibly lost: 0 bytes in 0 blocks ==12023== still reacha...
by drunkensapo
2014-01-16T11:38:11-07:00
Forum: Magick++
Topic: Memory leaks when creating a simple empty image
Replies: 3
Views: 11933

Re: Memory leaks when creating a simple empty image

In which platform did you tested it? Which OS, compiler, etc? I will try to get that version on OSX and see what happens. However, it is not always that easy to get that versions, specially for those relying on package managers like homebrew or apt under linux. I will try to download and compile it ...
by drunkensapo
2014-01-13T04:38:36-07:00
Forum: Magick++
Topic: Memory leaks when creating a simple empty image
Replies: 3
Views: 11933

Memory leaks when creating a simple empty image

I'm testing magick++ memory management under linux and mac. On OSX I'm using this: > convert --version Version: ImageMagick 6.8.7-7 Q16 x86_64 2014-01-10 http://www.imagemagick.org Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC Features: DPC Modules Delegates: bzlib fftw fontconfig freety...
by drunkensapo
2013-09-06T09:55:22-07:00
Forum: Magick++
Topic: Can't modify opacity channel from C++ API
Replies: 3
Views: 10390

Re: Can't modify opacity channel from C++ API

dlemstra wrote:The 'morphology' method is not yet available in Magick++. I am going to add some 'missing' methods to Magick++. I will make sure to also include this method.
Thanks for the answer. This means that these methods are empty shells at the moment?
Best,
Juan
by drunkensapo
2013-09-05T13:52:34-07:00
Forum: Magick++
Topic: Can't modify opacity channel from C++ API
Replies: 3
Views: 10390

Can't modify opacity channel from C++ API

Dear all, Can someone comment on this post? I'm still puzzled at the how steep the learning curve is. At this rate, trying to use Magick++ is almost futile, even though I have a strong background both in image processing and in C++ programming. http://www.imagemagick.org/discourse-server/viewtopic.p...
by drunkensapo
2013-08-14T17:27:05-07:00
Forum: Users
Topic: Can't modify opacity channel from C++ API
Replies: 1
Views: 4814

Re: Can't modify opacity channel from C++ API

I found a way that works. It beats me why, but in this way I can change the alpha channel. Magick::Image* im = new Magick::Image(Geometry(m, n), color_red); im->type(TrueColorMatteType); // magickIm->depth(8); im->modifyImage(); unsigned long p; for (int i = 0; i < m; i++) for (int j = 0; j < n; j++...
by drunkensapo
2013-08-14T16:16:42-07:00
Forum: Users
Topic: Can't modify opacity channel from C++ API
Replies: 1
Views: 4814

Can't modify opacity channel from C++ API

Dear all, My problem is the following, I have an RGBA image with the alpha channel set to 1 for every pixel, and grayscale image. I want to use the grayscale image as the alpha channel for the other one. I was able to do this successfully from command line using -separate and -combine. However I'm f...