[Top][All Lists]

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

Re: Problem with library images on Windows (again)

From: Juanma Barranquero
Subject: Re: Problem with library images on Windows (again)
Date: Fri, 3 Jun 2005 14:08:07 +0200

> 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.


  (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?


reply via email to

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