ImageCoderSignatureMismatch in ImageMagick-6.8.5-4-Q16

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
peters
Posts: 5
Joined: 2013-03-18T01:45:03-07:00
Authentication code: 6789

ImageCoderSignatureMismatch in ImageMagick-6.8.5-4-Q16

Post by peters »

Platform: Windows 7
Toolset: v110
Version: ImageMagick-6.8.5-4-Q16

Getting the following exception when executing the code snippet below:
ImageCoderSignatureMismatch `xtrn': 52258c8 != 68510 @ error/module.c/OpenModule/1319

Reproduce:

Code: Select all

			std::list<Magick::CoderInfo> coderList;
		
			Magick::coderInfoList(&coderList, 
				Magick::CoderInfo::TrueMatch, 
				Magick::CoderInfo::AnyMatch, 
				Magick::CoderInfo::AnyMatch); 

			for(std::list<Magick::CoderInfo>::iterator entry = coderList.begin(); entry != coderList.end(); entry++) {

			}
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: ImageCoderSignatureMismatch in ImageMagick-6.8.5-4-Q16

Post by dlemstra »

The method RegisterXTRNImage should return '(MagickImageCoderSignature)'.

I also noticed that it is not possible to access the 'stealth' coders using the Magick::coderInfoList method. The method MagickCore::GetMagickList and Magick::coderInfoList both skip them. Maybe an extra isStealth parameter should be added to Magick::coderInfoList.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
Post Reply