[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with library images on Windows (again)

From: David Kastrup
Subject: Re: Problem with library images on Windows (again)
Date: Fri, 03 Jun 2005 15:06:17 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Juanma Barranquero <address@hidden> writes:

>> Cool. So, for the first time, the image support on MSVC builds is as
>> stable as on MinGW builds.
> Well, I spoke too soon.
> I have another problem with image support on MSVC builds. It is,
> AFAICS, unrelated to the previous problem with the calling convention
> of the libraries.
> Doing
>   (insert-image-file "c:/image/test/myimage.png")
> works, at works C-o from dired. However, either one of:
>   (insert-image (create-image "c:/image/test/myimage.png"))
>   (put-image (create-image "c:/image/test/myimage.png") 0)
> crashes. In other words: png_load, and jpeg_load, die an horrible death from:
>   (image :type xxx :file "...")
> but they have no trouble with
>   (image :type xxx :data "...")
> png_load, for example, dies at the call to
>   fn_png_read_info (png_ptr, info_ptr);
> on png_load, while jpeg_load dies at:
>   fn_jpeg_read_header (&cinfo, 1);
> Any clues about what can be happening?

The files are not opened in binary mode or something like that?

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

[Prev in Thread] Current Thread [Next in Thread]