Search found 73 matches

by Danack
2016-12-20T15:44:33-07:00
Forum: Bugs
Topic: Transparency ignored in GIF
Replies: 6
Views: 13236

Re: Transparency ignored in GIF

Is there any way to detect this error when using the C api? Trying to detect any error with the code below doesn't show up any errors. #include <stdio.h> #include <stdlib.h> #include <string.h> #include <malloc.h> #include <wand/MagickWand.h> int main(int argc,char **argv) { MagickWand *magick_wand ...
by Danack
2016-03-07T08:04:21-07:00
Forum: Developers
Topic: DrawSetDensity example
Replies: 4
Views: 8554

Re: DrawSetDensity example

It's also in ImageMagick 6 since at least 6.9.2-0 I've tried using it with numbers separated by either x or a comma. Trying to render the drawing wand into an image, using the example code below, gives an error "ThrowWandException 11 non-conforming drawing primitive definition `density' @ error/draw ...
by Danack
2016-03-06T15:36:41-07:00
Forum: Developers
Topic: DrawSetDensity example
Replies: 4
Views: 8554

DrawSetDensity example

Hi,

Please you could you either say or add to the documentation, what format the density string should take for the DrawSetDensity() function, and what it is used for?

cheers
Dan
by Danack
2016-02-24T08:14:07-07:00
Forum: Developers
Topic: Feature request: time limit reset.
Replies: 3
Views: 9047

Re: Feature request: time limit reset.

Hi,

I'd just like to check the exact implementation. Please could you give me a link to the commit that added this?

cheers
Dan
by Danack
2016-01-31T14:17:51-07:00
Forum: Developers
Topic: Feature request: time limit reset.
Replies: 3
Views: 9047

Feature request: time limit reset.

This is a feature request to make calls to set the time resource limit be from 'now' rather than it being limit from the time when the first image was processed. i.e. MagickSetResourceLimit(TimeResource, 45); would set the time limit be 45 second from now. That would be following the model used by ...
by Danack
2015-06-05T14:39:48-07:00
Forum: Kudos and Rants
Topic: ImageMagick has a ridiculous development workflow
Replies: 26
Views: 262675

Re: ImageMagick has a ridiculous development workflow

Thanks for setting this up. It seems that for a lot of commits the commit message has not been brought across from SVN successfully, instead they have a commit message of something like: git-svn-id: https://subversion.imagemagick.org/subversion/ImageMagick/trunk@18691 aa41f4f7-0bf4-0310-aa73 ...
by Danack
2015-06-04T06:48:42-07:00
Forum: Developers
Topic: Unable to access SVN
Replies: 4
Views: 8183

Re: Unable to access SVN

I had not seen it, that's pretty awesome.
by Danack
2015-06-04T02:08:16-07:00
Forum: Developers
Topic: Unable to access SVN
Replies: 4
Views: 8183

Re: Unable to access SVN

As you're altering your dev setup I'll raise this again, even though I guess you've already thought about this and decided against it; having the repository hosted on Github would make it far easier for people to submit bug fixes. For example I can see how to fix http://www.imagemagick.org/discourse ...
by Danack
2015-06-03T07:29:32-07:00
Forum: Bugs
Topic: setImageBias has no effect
Replies: 5
Views: 11806

Re: setImageBias has no effect

Hi, I never got around to checking this was fixed. I just tried it against ImageMagick 6.9.1-4 and it does not appear to be fixed. Looking at the code in 6.9.1-4 the bias is still not used in ConvolveImageChannel. convolve_image=MorphologyApply(image,channel,ConvolveMorphology,1, kernel_info ...
by Danack
2015-06-03T04:34:39-07:00
Forum: Bugs
Topic: DrawGetVectorGraphics + DrawSetVectorGraphics
Replies: 1
Views: 5410

DrawGetVectorGraphics + DrawSetVectorGraphics

Hi, Not sure if this is a bug, or just weird behaviour. It seems the output of DrawGetVectorGraphics cannot be used as the input for DrawSetVectorGraphics. Instead the text returned must be wrapped with a root node i.e. : vector = DrawGetVectorGraphics(drawing_wand_src); sprintf(encapsulatedGraphics ...
by Danack
2015-06-02T12:11:26-07:00
Forum: Bugs
Topic: IsPixelWandSimilar behaviour changed?
Replies: 1
Views: 4596

IsPixelWandSimilar behaviour changed?

Hi, I'm seeing a change in behaviour for IsPixelWandSimilar. In ImageMagick-6.9.0-6 and other later versions as well the behaviour of the function for a set of tests ( https://github.com/mkoppanen/imagick/blob/master/tests/024-ispixelsimilar.phpt ) works as expected. For version ImageMagick-6.9.1-4 ...
by Danack
2015-04-04T08:12:38-07:00
Forum: Bugs
Topic: MagickCompositeImage and colorspaces
Replies: 1
Views: 4513

MagickCompositeImage and colorspaces

When using MagickCompositeImage to composite an image in CMYK colorspace into an image in RGB colorspace, the image being composited does not appear to be converted to the correct colorspace before being composited. The example code was reported in PHP, I can convert this to C if required. $img=new ...
by Danack
2015-03-09T19:35:09-07:00
Forum: Developers
Topic: Query font families?
Replies: 0
Views: 6405

Query font families?

Hi, Currently it's possible to list the fonts available through MagickQueryFonts. Is there any way to query the list of font families available? Calling DrawSetFontFamily with an invalid font family name does not fail (which is the correct behaviour), but it would be nice for users of the API to be ...
by Danack
2015-02-28T10:51:54-07:00
Forum: Bugs
Topic: Possible uninitialized variable
Replies: 1
Views: 4234

Possible uninitialized variable

magick/channel.c: In function ‘SetImageAlphaChannel’:
magick/channel.c:886:9: warning: ‘pixel.opacity’ may be used uninitialized in this function [-Wuninitialized]
It does appear that the value might be used without being initialised, but I haven't checked through each macro to be sure.
by Danack
2015-02-22T15:42:38-07:00
Forum: Developers
Topic: Kernel methods - part of the public api?
Replies: 1
Views: 4991

Kernel methods - part of the public api?

Hi, The functions ScaleKernelInfo and UnityAddKernelInfo are listed as part of the C api here However the function signatures are defined in morphology-private.h, as is MorphologyApply - which usually indicates that the functions are not meant to be relied on existing by anyone using the library ...