Search found 17 matches

by Portiella
2019-10-15T10:23:05-07:00
Forum: Magick++
Topic: How to: Visual studio 2019 IM7 + MFC example
Replies: 0
Views: 87250

How to: Visual studio 2019 IM7 + MFC example

Hello,

I have seen on the forum that asks how to compile IM in visual studio, so I published a video with the Visual studio project for sharing.

I hope it helps people

Video
https://youtu.be/8VpEqMNBCZ8

Source:
http://www.portiella.eu/testim.zip
by Portiella
2019-10-02T00:38:52-07:00
Forum: Bugs
Topic: Error image read from windows clipboard (copy from chrome)
Replies: 10
Views: 61463

Re: Error image read from windows clipboard (copy from chrome)

The error also happens with color images.
I have tried GraphicsMagick and it does well but I don't want to change libraries.

I love ImageMagick
by Portiella
2019-10-01T07:00:49-07:00
Forum: Bugs
Topic: Error image read from windows clipboard (copy from chrome)
Replies: 10
Views: 61463

Re: Error image read from windows clipboard (copy from chrome)

Both IM and Chrome are updated to the latest version.
IM: 7.0.8-67
Chrome 77.0.3865.90

Microsoft Paint paste ok
Adobe Photoshop paste ok
Everybody ok except IM.


IM Convert.exe also does it wrong.

If the image is copied by Internet Explorer, Firefox or another program, IM does well.
by Portiella
2019-10-01T04:43:00-07:00
Forum: Bugs
Topic: Error image read from windows clipboard (copy from chrome)
Replies: 10
Views: 61463

Error image read from windows clipboard (copy from chrome)

Hi,

when trying to read from the clipboard an image copied from chrome, the image scrolls horizontally a few pixels.
by Portiella
2019-06-26T10:27:25-07:00
Forum: Magick++
Topic: [SOLVED]: Error Image.read JPG
Replies: 4
Views: 44776

Re: Error Image.read JPG

with IM 7.0.8-50 works perfectly.

Thx
by Portiella
2019-06-26T07:34:56-07:00
Forum: Magick++
Topic: [SOLVED]: Error Image.read JPG
Replies: 4
Views: 44776

Re: Error Image.read JPG

IM 7.0.8 on Windows 10, compiled Visual Studio 2017. Error my exe: C:\...... @ error/jpeg.c/JPEGErrorHandler/333 Error in IMDisplay.exe tool: IMDisplayDoc function [DoReadImage] reported an error. IMDisplay.exe: Improper call to JPEG library in state 201 'C:\.......' @ error/jpeg.c/JPEGErrorHandler/...
by Portiella
2019-06-26T06:27:07-07:00
Forum: Magick++
Topic: [SOLVED]: Error Image.read JPG
Replies: 4
Views: 44776

[SOLVED]: Error Image.read JPG

Hi,

Use magick ++ for years without problems but lately I find jpg that gives error when reading.

http://asgbit.com/descargas/9781742202860.jpg

I have tried with IMDisplay.exe and it gives error.
other applications works perfectly.

What happens?
Thx
by Portiella
2018-12-27T04:39:48-07:00
Forum: Magick++
Topic: Magick++ not work Windows XP
Replies: 0
Views: 42592

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: 62348

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: 62348

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: 62348

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.fi...
by Portiella
2018-12-20T08:45:13-07:00
Forum: Magick++
Topic: [CLOSED] Error InsufficientImageDataInFile / LengthAndFilesizeDoNotMatch
Replies: 9
Views: 62348

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: 62348

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.