Search found 23 matches

by drunkensapo
2017-02-13T11:11:50-07:00
Forum: Magick++
Topic: Crash while reading SVG image from blob
Replies: 4
Views: 12491

Re: Crash while reading SVG image from blob

I didn't want to fix it. Just understood that Magick had its own converter, thus there was no need to use an external delegate. I finally ended rendering SVG with an external code and placing it into a Magick::Image.
Thanks for your time.
by drunkensapo
2016-12-27T08:38:26-07:00
Forum: Magick++
Topic: Crash while reading SVG image from blob
Replies: 4
Views: 12491

Re: Crash while reading SVG image from blob

If the problem is that IM can read the file created by the delegate, perhaps the delegate failed. What delegate is used? Can it correctly process the SVG independently of IM? No, IM can't read the file created by the delegate, because if the SVG delegate runs from command line, it is impossible to ...
by drunkensapo
2016-12-26T09:20:38-07:00
Forum: Magick++
Topic: Crash while reading SVG image from blob
Replies: 4
Views: 12491

Crash while reading SVG image from blob

Dear all, I'm using Magick++ to render a SVG image to PNG with the code shown below. Image_t* is just an alias for Magick::Image. svg_str contains the SVG's XML stores as a string, and size is the desired output size. This code works on a regular PC, but when I go mobile (ios) it crashes. I've narro...
by drunkensapo
2016-12-26T08:06:42-07:00
Forum: Magick++
Topic: Magick++: Crosscompile to Android
Replies: 7
Views: 13897

Re: Magick++: Crosscompile to Android

Dear amit1411,
Sorry for the delay. I was working on another projects. As soon as I get some time I will be uploading it.
by drunkensapo
2016-06-28T11:05:47-07:00
Forum: Magick++
Topic: Magick++: Crosscompile to Android
Replies: 7
Views: 13897

Re: Magick++: Crosscompile to Android

I was able to compile and successfully run Magic++ on Android using a custom build script found here: https://github.com/paulasiimwe/Android-ImageMagick
I'm thinking about uploading my version soon. Let me know if you are interested.
by drunkensapo
2016-06-03T11:26:04-07:00
Forum: Magick++
Topic: Unable to detect the alpha channel in a PNG image file (without loading the entire image in memory)
Replies: 2
Views: 10902

Re: Unable to detect the alpha channel in a PNG image file (without loading the entire image in memory)

Did you have any luck with this? I'm having a lot of trouble with alpha channels and PNG images.
by drunkensapo
2015-10-12T17:47:22-07:00
Forum: Developers
Topic: Compilation for iOS maintained and updated as October 2015
Replies: 1
Views: 13795

Compilation for iOS maintained and updated as October 2015

Dear all, I'm glad to let you know that I'm currently developing and maintaining a set of compilation scripts to build Magick and Magick++ on iOS. My work is based on Claudio Marforio's work ( https://github.com/marforic/imagemagick_lib_iphone/ ), but his scripts are outdated and don't include Magic...
by drunkensapo
2015-06-16T10:30:12-07:00
Forum: Magick++
Topic: Modify opacity channel via low level pixel access in C++
Replies: 0
Views: 7060

Modify opacity channel via low level pixel access in C++

Dear all, In a previous post I tried many ways to modify locally (i.e. different values for every pixel) the alpha channel of an image. See the original post here: http://www.imagemagick.org/discourse-server/viewtopic.php?t=23915 I seem to be hitting the same problem as my original post in point 2) ...
by drunkensapo
2015-06-08T06:29:58-07:00
Forum: Developers
Topic: Transparency disabled when using different compile options
Replies: 3
Views: 3721

Re: Transparency disabled when using different compile options

I think I found the problem. I still don't know why happens. I will post later. Thanks.
by drunkensapo
2015-06-08T06:14:47-07:00
Forum: Developers
Topic: Transparency disabled when using different compile options
Replies: 3
Views: 3721

Re: Transparency disabled when using different compile options

Is not a command, it is C++ code writing directly to the alpha channel of an image. If I run it from the version compiled with png and jpg it works, if I run from the version without them, I get no transparency. I will post an example later.
by drunkensapo
2015-06-08T05:37:17-07:00
Forum: Developers
Topic: Transparency disabled when using different compile options
Replies: 3
Views: 3721

Transparency disabled when using different compile options

Dear all, I have an ongoing project which uses magick, and it is in a very mature state. Everything works on linux, mac and windows without a flaw. I even ported everything to iOS and still works like a charm. However, due to a compatibility problem with another library, I had to recompile my iOS ve...
by drunkensapo
2014-09-25T06:15:26-07:00
Forum: Developers
Topic: Magick++: image.draw() calling command line gs?
Replies: 0
Views: 3562

Magick++: image.draw() calling command line gs?

Dear all, I'm working in a simple example which sets some control points defining a closed curve and fills that curve with a color, drawing that to an image. My code works perfectly on windows/linux/mac, but when porting it on iOS, where I don't have access to a command line gs. My question is: is i...
by drunkensapo
2014-09-14T07:37:31-07:00
Forum: Developers
Topic: Disabling libcms2 on unix
Replies: 0
Views: 3598

Disabling libcms2 on unix

Dear all, I'm doing some experiments regarding compilation on iOS, but my question is rather general. I'm trying to disable lcms2, and passed the argument --without-lcms2, but when compiling it still tries to link against it (and thus fails). Am I missing something here? Here is my setup: *ImageMagi...
by drunkensapo
2014-09-14T07:32:37-07:00
Forum: Developers
Topic: Compiling magick++ for iOS
Replies: 4
Views: 5597

Re: Compiling magick++ for iOS

If you are on Unix, or Windows with Cygwin, compiling IM including Magick++ is very simple. If you have Windows but not Cygwin, either get Cygwn or something expensive from Microsoft. I give lots of gory detail on the top few pages on my site (see my signature), including building the IM demonstrat...
by drunkensapo
2014-09-14T07:30:51-07:00
Forum: Developers
Topic: Compiling magick++ for iOS
Replies: 4
Views: 5597

Re: Compiling magick++ for iOS

I know nothing about any of the APIs. But see http://www.imagemagick.org/script/magick++.php and the links contained in it. Also see http://www.imagemagick.org/script/binary-releases.php#iOS and the links in that. I've seen those thanks. I need info about compiling the wrapper, not the way to use t...