Search found 1587 matches

by dlemstra
2013-09-18T04:51:18-07:00
Forum: Bugs
Topic: DDS format write support?
Replies: 1
Views: 4904

Re: DDS format write support?

You are a couple of days to early :) DDS write support has been added recently and is not included in 6.8.6-9. You have to wait for the next release of ImageMagick. Click here for details: viewtopic.php?f=1&t=23946&start=15#p102574.
by dlemstra
2013-09-18T04:19:07-07:00
Forum: Developers
Topic: SetErrorMode in windows version of ImageMagick
Replies: 3
Views: 6138

Re: SetErrorMode in windows version of ImageMagick

This will be included in the next release: ImageMagick 6.8.6-10. I don't know when this will be release but probably very soon.

We did have to add another check since this method needs at least Windows Vista/Windows Server 2008.
by dlemstra
2013-09-18T00:11:36-07:00
Forum: Developers
Topic: SetErrorMode in windows version of ImageMagick
Replies: 3
Views: 6138

Re: SetErrorMode in windows version of ImageMagick

The following patch has been applied:

Code: Select all

mode=GetErrorMode();
mode=SetErrorMode(mode | SEM_FAILCRITICALERRORS | SEM_NOOPENFILEERRORBOX);
by dlemstra
2013-09-16T15:10:49-07:00
Forum: Bugs
Topic: Can not convert gray PSD file to another format correctly
Replies: 5
Views: 5471

Re: Can not convert gray PSD file to another format correctl

I can confirm this is a bug in ImageMagick. When I make the change below to line 854 of psd.c the problem seems to be fixed. if (AcquireImageColormap(image, psd_info.depth != 16 ? 256 : 65536) == MagickFalse) Line 660 of psd.c can use an index that is higher then 256 and this will result in a crash....
by dlemstra
2013-09-16T08:22:12-07:00
Forum: Users
Topic: Draw Polygon not positioned at top right
Replies: 5
Views: 4122

Re: Draw Polygon not positioned at top right

What happens when you don't do the flip?
by dlemstra
2013-09-11T13:14:29-07:00
Forum: Bugs
Topic: compare's exit code is always 0
Replies: 20
Views: 22444

Re: compare's exit code is always 0

I believe the 'If an error occurs, return 1' is a typo and should be ' If an error occurs, return 2'. This is what grep is doing.
by dlemstra
2013-09-11T11:39:08-07:00
Forum: Bugs
Topic: compare's exit code is always 0
Replies: 20
Views: 22444

Re: compare's exit code is always 0

My bad, windows uses 32-bit signed integers as exit code. Maybe we should just stick to 3 for a warning, 4 for an error and 7 for a fatal error?
by dlemstra
2013-09-11T11:27:57-07:00
Forum: Users
Topic: Strange "add" behaviour
Replies: 31
Views: 22647

Re: Strange "add" behaviour

dds:mipmaps true (Writes mipmaps in the output file, this requires the image width and height to be a power of two) false (Disable writing mipmaps, this will be used when the width and height are not a power of two) 2.) This will be added before the next release. I will call this option 'dds:mipmap...
by dlemstra
2013-09-11T10:52:28-07:00
Forum: Bugs
Topic: compare's exit code is always 0
Replies: 20
Views: 22444

Re: compare's exit code is always 0

I have an update. For IMv7 we are going to change the exit code. When the images are equal 0 will be returned and when the images are different we will return 1. This is the same as IM6 but we will add something for when an exception has occurred. The executable will then return an exit code that ha...
by dlemstra
2013-09-09T22:10:55-07:00
Forum: Users
Topic: Strange "add" behaviour
Replies: 31
Views: 22647

Re: Strange "add" behaviour

1.) I would have to do some research to figure out how that would work. Feel free to contact me to give me some pointers.
2.) This will be added before the next release. I will call this option 'dds:mipmapcount'?
by dlemstra
2013-09-09T13:19:55-07:00
Forum: Bugs
Topic: compare's exit code is always 0
Replies: 20
Views: 22444

Re: compare's exit code is always 0

I think you should report the problem to im4java so they can change their code. There is no option available to force the exit code to zero and we should probably also not add such an obscure feature.
by dlemstra
2013-09-09T11:47:15-07:00
Forum: Magick++
Topic: How to write multi page image to multiple blobs?
Replies: 5
Views: 10441

Re: How to write multi page image to multiple blobs?

You should iterate your vector and call the write method of Image.
by dlemstra
2013-09-09T11:07:51-07:00
Forum: Bugs
Topic: SVG to PNG fails with: "You forgot to call g_type_init()"
Replies: 5
Views: 9723

Re: SVG to PNG fails with: "You forgot to call g_type_init()

A patch for this problem has been already been committed: http://trac.imagemagick.org/changeset/13123. This will be fixed in 6.8.6-10.
by dlemstra
2013-09-08T22:15:23-07:00
Forum: Bugs
Topic: NullPointerException when using CompareCmd via Im4java
Replies: 1
Views: 8190

Re: NullPointerException when using CompareCmd via Im4java

It is a bug in im4java. In line 252 of ImageCommand.java there is no check if iErrorText is null. protected void finished(int pReturnCode) throws Exception { if (pReturnCode > 0) { CommandException ce; if (iErrorText.size() > 0) { // this line ce = new CommandException(iErrorText.get(0)); I think th...