Search found 48 matches

by Alan Hadley
2013-04-14T07:31:37-07:00
Forum: Developers
Topic: Colour Space Conversion
Replies: 5
Views: 9555

Colour Space Conversion

Is there a direct way using the Magick Core api to convert a colour in one colour space to the equivalent in another. I do not mean an image, I want to change say the background colour that I get as an rgb triplet into the corresponding colour in an images colour space. e.g. I tried drawing a red ci...
by Alan Hadley
2013-04-13T04:19:47-07:00
Forum: Developers
Topic: Testing Version 7
Replies: 7
Views: 7187

Re: Testing Version 7

Nice to hear about the two mask channels. It would be nice if they can be exported using ExportImagePixels(), so that they can be displayed over an image easily. Will ChannelFX() be able to manipulate all channels including the User ones.

Alan Hadley
by Alan Hadley
2013-04-12T11:13:47-07:00
Forum: Developers
Topic: Testing Version 7
Replies: 7
Views: 7187

Re: Testing Version 7

I tried various combinations of letters in the %~...0 bit and managed to get IM7 to launch, but it seems that IM is not skipping the first parameter on the command line which in windows is always the name of the program which is running, or rather whatever was used to start the program. So IM is rea...
by Alan Hadley
2013-04-11T08:02:09-07:00
Forum: Developers
Topic: Testing Version 7
Replies: 7
Views: 7187

Re: Testing Version 7

I am working down my list of effects functions, you can get some interesting results by disabling channels, though not all functions allow this.

BlueShift keeps returning a transparent image, it sets the alpha channel to 0.0.

Alan Hadley
by Alan Hadley
2013-04-11T04:57:13-07:00
Forum: Developers
Topic: Testing Version 7
Replies: 7
Views: 7187

Testing Version 7

I am still working on my Windows program that lets you use a lot of IMs functions interactively, I have decided to wait for the official IM 7 release before I release this to the world. I have successfully ported a lot of things to IM7 and am testing, debugging, and improving my code. This means tes...
by Alan Hadley
2013-02-17T00:56:41-07:00
Forum: Developers
Topic: First try with Magick Core 7
Replies: 5
Views: 7716

Re: First try with Magick Core 7

Please ignore the parts of the last message that say that IM 6.8 removes the Mask from the result in some circumstances. I discovered that my code was resetting the image->mask entry to zero when a new image was created.

Alan Hadley
by Alan Hadley
2013-02-15T00:29:03-07:00
Forum: Developers
Topic: First try with Magick Core 7
Replies: 5
Views: 7716

Re: First try with Magick Core 7

On testing some functions on an image with a Mask channel I get various results, some of which differ from what IM 6.8 produces. Typical examples are:- 1. AddNoise adds noise in the unmasked area in both versions of IM with the mask removed from the result 2. Draw only draws in the unmasked area, an...
by Alan Hadley
2013-02-07T05:48:47-07:00
Forum: Developers
Topic: First try with Magick Core 7
Replies: 5
Views: 7716

Re: First try with Magick Core 7

Thank's for your help -:) I have converted my image dispolay routine and I think it is now indipendant of the IM pixel layout and quantum size. I have used ExportImagePixels() to convert from RGBA.anysize to RBGA.float and there is still no noticeable slowdown. A request I would like to make is for ...
by Alan Hadley
2013-02-06T07:06:00-07:00
Forum: Developers
Topic: First try with Magick Core 7
Replies: 5
Views: 7716

First try with Magick Core 7

I have started converting the Windows Interface for Image Magick that I am developing so that it will be compatible with IM7. Is this the correct place to discuss this? I am only at the start of the convertion but I can already load and display images with one to 3 colour channels and with or withou...
by Alan Hadley
2012-12-14T00:08:53-07:00
Forum: Developers
Topic: CZIM for testing
Replies: 3
Views: 6322

Re: CZIM for testing

Thank's for your report. I have removed all mention of IM from my environment variables and the program still runs on my PC. I tried running from a different folder and I get the symptoms you describe, so the bottom line would seem to be CZIM needs to be in the same folder as the IM DLL files. Does ...
by Alan Hadley
2012-12-13T13:55:02-07:00
Forum: Developers
Topic: CZIM for testing
Replies: 3
Views: 6322

CZIM for testing

CZIM is a Windows interface for Image Magick combined with CombineZ. Most of the functionality of IM is included, there are various graphical tools to simplify parameter entry, and results are displayed on screen. It is not a command line program. I have put together a web page which is an introduct...
by Alan Hadley
2012-12-13T08:30:55-07:00
Forum: Developers
Topic: Warning Message in VC++ 2010
Replies: 1
Views: 3740

Warning Message in VC++ 2010

I just upgraded to 6.0.9 and started getting the following warning message whin compiling my program. 1>C:\Program Files\ImageMagick-6.8.0-Q16\include\magick/pixel-accessor.h(110): warning C4244: 'return' : conversion from 'double' to 'MagickRealType', possible loss of data I presume that it is to d...
by Alan Hadley
2012-10-31T07:41:34-07:00
Forum: Users
Topic: Measuring curve lengths and irregular areas
Replies: 4
Views: 8616

Re: Measuring curve lengths and irregular areas

http://hadleyweb.pwp.blueyonder.co.uk/d10_s10_lines.gif Notice the grey pixels in the diagonal line above, they would cause the sum to be greater than 10. I will have to do more tests to quantify this. You are right about the line segments method, but that's not always convenient. P.S. I hope the i...
by Alan Hadley
2012-10-31T02:18:44-07:00
Forum: Users
Topic: Measuring curve lengths and irregular areas
Replies: 4
Views: 8616

Measuring curve lengths and irregular areas

I'm not sure if this should go here or in the image processing section, so apologies if I'm in the wrong place. I was tinkering with some of the tools I am adding to my windows interface for IM. One of these tools lets you lay out a bezier curve or polyline (open or closed) etc. on top of an image, ...
by Alan Hadley
2012-10-18T23:15:14-07:00
Forum: Bugs
Topic: [Solved] Pale results with Quantize
Replies: 3
Views: 5747

Re: [Solved] Pale results with Quantize

Yes, it was a colourspace problem. I was setting the colourspace value of the Image structure to RGB without checking that it did not have a valid value first, and if it had leaving it alone.

Alan