Search found 11 matches

by PBert
2015-02-18T20:35:14-07:00
Forum: Magick++
Topic: Swap colour channels via API
Replies: 8
Views: 18197

Re: Swap colour channels via API

Using c++ API - namespace Magick, version looks like 6.8.5, released on the 24-4-2013. Package name ImageMagick.
by PBert
2015-02-18T05:02:06-07:00
Forum: Magick++
Topic: Swap colour channels via API
Replies: 8
Views: 18197

Re: Swap colour channels via API

Just a thought for anyone who might know - is it possible to do an iter_swap (or something similar) on any of the data containers that might act as a channel swap? Preferably on the pixel cache?

PB.
by PBert
2015-02-16T04:07:25-07:00
Forum: Magick++
Topic: Swap colour channels via API
Replies: 8
Views: 18197

Re: Swap colour channels via API

Hi snibgo,

those code snippets look familiar - probably like what I've seen in other topics/searches. Like you though, I'm not sure how to transfer the command line into an api function call(s)!

PB.
by PBert
2015-02-16T02:46:29-07:00
Forum: Magick++
Topic: Swap colour channels via API
Replies: 8
Views: 18197

Re: Swap colour channels via API

Hi there dlemstra, nope. I'm trying to point another api's image object reference to the IM pixel cache. They both use the same data type. The other object isn't trying to take over ownership either - it just copies the container data in the order it's given. I can see thus far that it's 'working'. ...
by PBert
2015-02-15T23:31:56-07:00
Forum: Magick++
Topic: Swap colour channels via API
Replies: 8
Views: 18197

Swap colour channels via API

Hi Folks, I'm unsure how to swap colour channels using the api. Searching Google brings up command line -swap based topics, but nothing using the API (can't find any swap() function?). Reason is for rearranging order of RGBA to ARGB. Don't need any pixel colour changes, just colour channel swaps. ED...
by PBert
2014-08-28T01:02:29-07:00
Forum: Users
Topic: image.read() failing
Replies: 6
Views: 4283

Re: image.read() failing

Hi folks, I've 'worked out' what the problem is here. See examples: // this fails Image Img1; Img1.read("C:\test.png"); // this works Image Img1; Img1.read("C:/test.png"); // note the difference is the folder characters ("\" and "/") Would be happy to hear fro...
by PBert
2014-08-20T22:30:25-07:00
Forum: Users
Topic: image.read() failing
Replies: 6
Views: 4283

Re: image.read() failing

That's no worries, thanks for having a go - I'll do a bit more testing with the demos and the command line at some stage to see if anything further can come out of them. In the meantime, I may have found a workaround that, while not the most efficient way, might do enough to at least continue with o...
by PBert
2014-08-20T19:33:27-07:00
Forum: Users
Topic: image.read() failing
Replies: 6
Views: 4283

Re: image.read() failing

Hi snibgo, development is being done in VS Exp. 2010, and the crashes are happening in release builds. I must confess, generally speaking, I don't do debug builds as I test most things manually myself by (e.g.) printing variable values etc. For notes' sake, the build ends up as a dll (albeit with an...
by PBert
2014-08-20T04:12:12-07:00
Forum: Users
Topic: image.read() failing
Replies: 6
Views: 4283

image.read() failing

Hi Folks, when trying to init an image by reading from a file location, my program crashes. Here's what I've gone in circles around: InitializeMagick("..."); // tried a few locations from the program location, to null Image image; image.read("..."); // crash But if I init an imag...
by PBert
2014-04-25T19:58:00-07:00
Forum: Magick++
Topic: Static compiling for Win & Mac
Replies: 3
Views: 12748

Re: Static compiling for Win & Mac

Hi there fubert (love the name :D )! I wasn't alerted to a reply. Thanks for posting a response. However, to usual PBert standards, I simply cannot get it to compile. Following the steps seems to get me further than before, but the build fails with 36 errors such as: LNK2019: unresolved external sym...
by PBert
2014-03-06T05:54:06-07:00
Forum: Magick++
Topic: Static compiling for Win & Mac
Replies: 3
Views: 12748

Static compiling for Win & Mac

Hi Folks, my apologies in advance for the lengthy post that follows - but I thought best to explain/cover my position as best as possible. I'm in the process of building a software plugin under another SDK environment (for Win and Mac, possibly Linux too). This software builds fine inside of VS 2010...