2017-03-18 16:44 GMT+01:00 Andreas Politz <politza@hochschule-trier.de>:
Fabrice Popineau <fabrice.popineau@gmail.com> writes:

> My point is that only one of imagemagick and libpng will handle png
> files at a time.  When ImageMagick is available, it supersedes png,
> jpeg and anything it handles (AFAICS).

No, the used library depends on the image-type, i.e.

(create-image "foo.png" 'imagemagick)

    vs.

(create-image "foo.png" 'png)

 
That is when you program, but when you merely use emacs to browse files
with dired, or when some package generates and load images (preview-latex), 
defaults are used. And the default is that imagemagick supersedes png and jpeg.

Fabrice