Search found 48 matches

by Alan Hadley
2012-10-18T23:09:04-07:00
Forum: Developers
Topic: [Solved] Recent Change Queery
Replies: 2
Views: 5215

Re: [Solved] Recent Change Queery

It was my mistake, some assembly language that converts to 8bits per channel and premultiplies by alpha for display on windows had a bug. I was extracting bytes 0,2,4 and 6 when I should have taken bytes 1,3,5 and 7. This has no effect when an 8 bits per channel picture is converted to 16 bits, but ...
by Alan Hadley
2012-10-17T13:01:41-07:00
Forum: Developers
Topic: [Solved] Recent Change Queery
Replies: 2
Views: 5215

[Solved] Recent Change Queery

Has anything changed in the Magick Core API that could affect DrawGradientImage() and SparseColorImage(). I had them working a while ago but now they both produce complex fractal like patterns? I tried drawing a gradient on the command line and it worked OK with my version of IM, so it is probably s...
by Alan Hadley
2012-10-14T07:53:25-07:00
Forum: Developers
Topic: % escapes in API's
Replies: 2
Views: 4804

% escapes in API's

Is there any way to switch on, or a function that will expand % escapes in the Magick Core. They do not work in the PreviewImage() function the caption on the centre image shows them as literal text. I would also like them to be available in MontageImageList() or when assigning a Label to an Image. ...
by Alan Hadley
2012-10-14T00:18:16-07:00
Forum: Developers
Topic: The MontageInfo structure in Magick Core
Replies: 1
Views: 3636

The MontageInfo structure in Magick Core

I have just implimented the impressive MontageImageList(...) function in my Windows GUI for IM and have noticed that two of the entries in the MontageInfo structure have no effect these are mi->matte_color im->border_color This means that they have to be set in the individual Image structures. This ...
by Alan Hadley
2012-10-11T23:09:50-07:00
Forum: Bugs
Topic: [Solved] Pale results with Quantize
Replies: 3
Views: 5735

[Solved] Pale results with Quantize

I am using ImageMagick-6.7.9-Q16 on Windows, the Magickcore interface. I am adding one function at a time to my GUI interface for IM, I am now working on Quantize. No matter what values I put into the QuantizeInfo structure (Colourspace, Treedepth etc.) the results of Quantize always appear lighter ...
by Alan Hadley
2012-09-09T05:14:48-07:00
Forum: Developers
Topic: Perspective Projection Distortion
Replies: 2
Views: 5881

Perspective Projection Distortion

I am buissy adding IM functions to my software and am working on Distort now, I am using the IM Core interface. I tried putting random values in a Perspective Projection Distortion and sometimes I had a crash and sometimes no results at all. I found that the crash was caused by using -ve values for ...
by Alan Hadley
2012-08-19T00:08:06-07:00
Forum: Developers
Topic: [SOLVED] HDRI is now default for IM7 but not IM6 (still Q16)
Replies: 17
Views: 25133

Re: Make HDRI the default

I am writing a Windows application which updates the screen in real time when doing certain tasks, e.g. painting on an image, moving sliders to alter brightness and moving a zoomed area around an image. At the moment this works well using 16 bit IM, although it does slow down when the displayed size...
by Alan Hadley
2012-08-13T05:11:40-07:00
Forum: Developers
Topic: HDR format?
Replies: 1
Views: 3791

HDR format?

What is the internal (ram) format of an HDR channel? I was reading about IM and HDR, in one place it says 'C double' which I understood to be 64 bits for this size, and further down the page it says '32 bits' which I thought was 'C float'. I am asking because I am including some fast single channel ...
by Alan Hadley
2012-08-02T12:57:41-07:00
Forum: Developers
Topic: how to use ImageMagick for VC++(MFC) applications.?
Replies: 2
Views: 6977

Re: how to use ImageMagick for VC++(MFC) applications.?

I do not use Magick++, but use MagickCore for windows programming. But I had a similar problem although I do not know if this applies to you but here goes. My app uses Wide (2 byte) characters, IM uses multibyte characters. I do not know if the Magick++ wrappers take care of this but if not here is ...
by Alan Hadley
2012-08-01T12:43:30-07:00
Forum: Developers
Topic: Using LinearStretchImage(...)
Replies: 4
Views: 7381

Re: Using LinearStretchImage(...)

Thank's I get it now. Heres a C++ code snippet double black=(double)GetPropertyN(o,1)*(double)(im->columns*im->rows); double white=(double)GetPropertyN(o,2)*(double)(im->columns*im->rows); if(status!=Status::STATUS_OK) goto quit; MagickBooleanType ok; WaitMessage(L"Stretching"); ok=LinearS...
by Alan Hadley
2012-08-01T02:59:51-07:00
Forum: Developers
Topic: Using LinearStretchImage(...)
Replies: 4
Views: 7381

Using LinearStretchImage(...)

I am trying to include LinearStretchImage(...) in my MagickCore program but can not work out what the black_point and white_point values should be. So far I have tried 0.0 to 1.0, 0 to 100, 0 to QuantumRange. I thought the function would work like this assuming the range were 0.0 to 1.0, when black_...
by Alan Hadley
2012-02-16T07:29:51-07:00
Forum: Developers
Topic: Windows User Interface for Testing
Replies: 0
Views: 3695

Windows User Interface for Testing

I have posted a .zipped folder on my web site which contains a very early version, probably very buggy, of a program that I am calling CZIM, because it will combine functionality from ImageMagick and my program CombineZ. I am asking if anyone is brave enough to test it on their system, so that I kno...
by Alan Hadley
2011-05-01T00:57:16-07:00
Forum: Users
Topic: Would you like a Windows GUI interface for IM
Replies: 20
Views: 71871

Re: Would you like a Windows GUI interface for IM

I am not an expert on crossplatform coding but the front end of my code is written in C#/.NET and is quite small. It asks the main .dll questions like "How many functions do you know?" then "Tell me about the first one", "...the second one"etc. Then it puts the info it ...
by Alan Hadley
2011-04-30T12:17:33-07:00
Forum: Users
Topic: Would you like a Windows GUI interface for IM
Replies: 20
Views: 71871

Re: Would you like a Windows GUI interface for IM

Just to update you all, here are a few things that I have managed to do so far, it will be a while yet before I have something for testing though. 1. A quad display of the images being processed that consists of two whole images in the lower two panes and an enlarged view of a portion of each in the...
by Alan Hadley
2011-03-05T00:22:46-07:00
Forum: Users
Topic: Would you like a Windows GUI interface for IM
Replies: 20
Views: 71871

Re: Would you like a Windows GUI interface for IM

Re. the CR2 problem, I had a sinilar problem with some test images I downloaded off the web, all I got when loading was a thumbnail of the full image, and an error message. A bit of detective work showed that there was an unrecognized tag in the file. My solution is to detect this and rename the .cr...