Search found 8 matches

by Portiella
2018-12-27T04:39:48-07:00
Forum: Magick++
Topic: Magick++ not work Windows XP
Replies: 0
Views: 3055

Magick++ not work Windows XP

I have compiled the IMDisplay.exe utility for XP with Visual Studio 2017 and it does not work.

Always fails to try to open any image, error InsufficientImageDataInFile / LengthAndFilesizeDoNotMatch.
by Portiella
2018-12-26T05:15:31-07:00
Forum: Magick++
Topic: [CLOSED] Error InsufficientImageDataInFile / LengthAndFilesizeDoNotMatch
Replies: 9
Views: 4843

Re: Error InsufficientImageDataInFile / LengthAndFilesizeDoNotMatch

I have compiled the IMDisplay.exe utility for XP with Visual Studio 2017 and it does not work, it gives the same error, so it is not my source code. Both imagemagick and graphicsmagick do not work on XP compiled with Visual Studio 2017. I tried to install Visual Studio 2017 in Windows XP but I have ...
by Portiella
2018-12-24T01:42:06-07:00
Forum: Magick++
Topic: [CLOSED] Error InsufficientImageDataInFile / LengthAndFilesizeDoNotMatch
Replies: 9
Views: 4843

Re: Error InsufficientImageDataInFile / LengthAndFilesizeDoNotMatch

What are the reasons for the GetBlobSize function to return 0?
It is the same source code and same EXE for XP and Windows 10.
In 7/10, it works perfectly.

Thx.
by Portiella
2018-12-20T09:02:54-07:00
Forum: Magick++
Topic: [CLOSED] Error InsufficientImageDataInFile / LengthAndFilesizeDoNotMatch
Replies: 9
Views: 4843

Re: Error InsufficientImageDataInFile / LengthAndFilesizeDoNotMatch

Doing debug in bmp.c, on line number 826 I modified if ((MagickSizeType) bmp_info.file_size > GetBlobSize(image)) (void) ThrowMagickException(exception,GetMagickModule(),CorruptImageError, "LengthAndFilesizeDoNotMatch","`%s' sizeBMP: %u sizeBlob: %u", image->filename, bmp_info.file_size, GetBlobSize...
by Portiella
2018-12-20T08:45:13-07:00
Forum: Magick++
Topic: [CLOSED] Error InsufficientImageDataInFile / LengthAndFilesizeDoNotMatch
Replies: 9
Views: 4843

Re: Error InsufficientImageDataInFile / LengthAndFilesizeDoNotMatch

I configure Visual Studio 2017 to compile XP target.
by Portiella
2018-12-20T08:13:38-07:00
Forum: Magick++
Topic: [CLOSED] Error InsufficientImageDataInFile / LengthAndFilesizeDoNotMatch
Replies: 9
Views: 4843

Re: Error InsufficientImageDataInFile / LengthAndFilesizeDoNotMatch

It happens to me with all the images, jpg, bmp, tiff, images recorded with Microsoft Paint I also get error. It is not a problem of jpg bmp files

I am convinced that it is something of my code or visual studio 2017, but the same exe and same images in Windows 7/10 works perfectly.
by Portiella
2018-12-05T07:37:01-07:00
Forum: Magick++
Topic: [CLOSED] Error InsufficientImageDataInFile / LengthAndFilesizeDoNotMatch
Replies: 9
Views: 4843

[CLOSED] Error InsufficientImageDataInFile / LengthAndFilesizeDoNotMatch

Hello, I have an exe compiled in visual studio 2017 with magick ++ 7.0.8-15. If I try to read a JPG or BMP file (I have not tried with others) I get an error "InsufficientImageDataInFile" (in jpg) "LengthAndFilesizeDoNotMatch" (in bmp) but only in Windows XP, in Windows 10 it works perfectly. What h...