Search found 12 matches

by vtagle-qsi
2011-09-08T18:45:18-07:00
Forum: Users
Topic: Problem extracting alpha channel from indexed palette PNGs
Replies: 3
Views: 8472

Re: Problem extracting alpha channel from indexed palette PN

Doh! The version of ImageMagick I was using was older than I thought (v6.6.something or other). Upgrading to the latest version fixes the problem.
by vtagle-qsi
2011-09-08T17:01:48-07:00
Forum: Users
Topic: Problem extracting alpha channel from indexed palette PNGs
Replies: 3
Views: 8472

Problem extracting alpha channel from indexed palette PNGs

Hello, I have a PNG file with an indexed palette and I'm trying to extract the alpha channel to use as an image mask but all the usual techniques I've tried have failed. Is there some trick to doing it? The best I can figure is I have to convert it to RGB but I can't seem to do that without losing t...
by vtagle-qsi
2008-09-20T09:57:14-07:00
Forum: Users
Topic: Building with flag --without-x still uses the X11 libs
Replies: 0
Views: 3458

Building with flag --without-x still uses the X11 libs

Hello, I'm trying to build a portable version of ImageMagic using the instructions from this thread: http://www.imagemagick.org/discourse-server/viewtopic.php?f=6&t=11881&p=38719 However, I don't want to use the X11 libraries but when I use the flag --without-x, -L/usr/X11/lib and -L/usr/X11...
by vtagle-qsi
2008-09-11T14:01:50-07:00
Forum: Users
Topic: Magick++ equivalent of "convert -background none" option
Replies: 0
Views: 3326

Magick++ equivalent of "convert -background none" option

Yet another SVG question :D I'm trying to figure out what the Magick++ equivalent is for convert's "-background none" option. Creating a black color with transparent alpha via this line: Magick::Color backgroundColor(0, 0, 0, QuantumRange); and calling backgroundColor() for the image with ...
by vtagle-qsi
2008-09-11T13:36:24-07:00
Forum: Users
Topic: Example code for Magick++ and SVG file?
Replies: 2
Views: 8333

Re: Example code for Magick++ and SVG file?

Well, setting the image depth to 8 didn't help but for those who come after me, what I ended up doing was the following: // Load the SVG data into an image and use ImageMagick to "magick" it into PNG data. // Magick::Image svgFile(filename); svgImage.magick("png"); // Write the r...
by vtagle-qsi
2008-09-10T19:30:50-07:00
Forum: Users
Topic: Confused about missing delegates and static MT libraries
Replies: 9
Views: 22323

Re: Confused about missing delegates and static MT libraries

Okay, using the workspaces of the static MT demos, I was able to get IM working in my project. Thanks for all the help, everyone. :D
by vtagle-qsi
2008-09-10T16:32:44-07:00
Forum: Users
Topic: Confused about missing delegates and static MT libraries
Replies: 9
Views: 22323

Re: Confused about missing delegates and static MT libraries

Okay. I've done this and made some changes to the source for the button demo to do what I need so I'll attempt to use this project as my template. I assume it's using the Dynamic Multi-threaded DLL runtimes build option. However, my initial question really isn't being answered here. I'm just trying ...
by vtagle-qsi
2008-09-10T15:59:29-07:00
Forum: Users
Topic: Confused about missing delegates and static MT libraries
Replies: 9
Views: 22323

Re: Confused about missing delegates and static MT libraries

Okay. But I thought the purpose of building the static libraries was that so you could create a portable version of IM that you could link into an application and then run that application on another machine without having to have IM installed on that machine. Or am I misunderstanding the purpose of...
by vtagle-qsi
2008-09-10T14:00:58-07:00
Forum: Users
Topic: Confused about missing delegates and static MT libraries
Replies: 9
Views: 22323

Confused about missing delegates and static MT libraries

Can someone shed some light on this situation? I'm using the static multi-threaded libraries for Magick++ which from what I can understand, lets you link in all that you need statically so that you don't need the DLL modules. However, when I execute the following line of code: Magick::Image svgImage...
by vtagle-qsi
2008-09-06T14:23:18-07:00
Forum: Users
Topic: Magick++ SVG support under Mac OSX
Replies: 3
Views: 9963

Re: Magick++ SVG support under Mac OSX

Where do I put the delegate libraries if I'm trying to use a portable version of IM built from sources? I'm basically using IM to include SVG support in a project that will be distributed to end-users who don't necessarily have IM installed on their systems.
by vtagle-qsi
2008-09-06T13:37:53-07:00
Forum: Users
Topic: Magick++ SVG support under Mac OSX
Replies: 3
Views: 9963

Magick++ SVG support under Mac OSX

Hello, I'm having problems getting an SVG file to load via the Magick++ API. Basically, whenever I try and read in my SVG file, an exception gets thrown (ErrorFileOpen or some such) and I see "sh: wmf2eps: command not found" end up in my debug log. I'm using a version of ImageMagick that I...
by vtagle-qsi
2008-09-05T16:45:33-07:00
Forum: Users
Topic: Example code for Magick++ and SVG file?
Replies: 2
Views: 8333

Example code for Magick++ and SVG file?

Hello, I'm working on a project that needs to display SVG files so to that end, I've been trying to use the Magick++ API to read in the SVG file and then get the raw pixel data as RGBA and stuff it into a buffer to later display on the screen. This is what I've figured out I need so far: using names...