Search found 7 matches

by Myrsloik
2018-01-06T15:49:05-07:00
Forum: Bugs
Topic: Possible Magic++ bug
Replies: 6
Views: 7588

Re: Possible Magic++ bug

I have one more question about the quantum:format=floating-point image attribute. Why isn't it always set when the source file is a floating point format? For example EXR images can contain it as well but it will never be set for them (I checked the source code and tried). Is this an oversight or an...
by Myrsloik
2017-12-30T12:43:48-07:00
Forum: Bugs
Topic: Possible Magic++ bug
Replies: 6
Views: 7588

Re: Possible Magic++ bug

This is mostly useful for Q16 HDRI builds where the storage type is float. By changing this you can then write 32bit float tiff files without issues. At least none that I found in my very limited testing.
by Myrsloik
2017-12-30T12:20:47-07:00
Forum: Bugs
Topic: Possible Magic++ bug
Replies: 6
Views: 7588

Possible Magic++ bug

In magick++/lib/image.cpp The depth method most likely incorrectly limits the max depth that can be set to MAGICKCORE_QUANTUM_DEPTH. Neither the c api or magic wand api does this. Likewise the Magick::Image::modulusDepth method doesn't limit it either. Most likely the correct solution is to remove t...
by Myrsloik
2015-01-28T15:43:01-07:00
Forum: Bugs
Topic: Windows DllMain initialization broken (6.9.0-3)
Replies: 6
Views: 7008

Re: Windows DllMain initialization broken (6.9.0-3)

You forgot to recompile CORE_RL_magick_.dll (and possibly other files too) for the 6.9.0-4 windows binary release. The provided binaries are identical to 6.9.0-3 so the issue remains there.

I can confirm that it works when I compile my own version from source.
by Myrsloik
2015-01-15T13:50:11-07:00
Forum: Bugs
Topic: Windows DllMain initialization broken (6.9.0-3)
Replies: 6
Views: 7008

Re: Windows DllMain initialization broken (6.9.0-3)

After a bit of pondering I remembered that you can easily get the name of the executable instead. You may want to change the line count=(ssize_t) GetModuleFileNameW(handle,wide_path,MaxTextExtent); to count=(ssize_t) GetModuleFileNameW(NULL,wide_path,MaxTextExtent); in the DllMain() call. This will ...
by Myrsloik
2015-01-15T06:42:35-07:00
Forum: Bugs
Topic: Windows DllMain initialization broken (6.9.0-3)
Replies: 6
Views: 7008

Re: Windows DllMain initialization broken (6.9.0-3)

I agree. Not having the dllmain initialization enabled in the official binaries would also be an improvement.
by Myrsloik
2015-01-13T16:54:32-07:00
Forum: Bugs
Topic: Windows DllMain initialization broken (6.9.0-3)
Replies: 6
Views: 7008

Windows DllMain initialization broken (6.9.0-3)

If you use any of the ImageMagick dlls directly on windows (in my case through Magick++ but MagickWand will show the same issue) MagickCoreGenesis() will be called automatically in DllMain(). This is an issue for several reasons: 1. Since MagickCoreGenesis() is already called before any other code c...