emacs-devel
[Top][All Lists]
Advanced

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

Re: Resizing images


From: Lars Magne Ingebrigtsen
Subject: Re: Resizing images
Date: Tue, 31 Aug 2010 16:55:45 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

address@hidden writes:

> In order to get the desired loader, change image-type-file-name-regexps,
> or explicitly provide the loader when making the display spec:
>
> (put-text-property 10 11 'display (list 'image :type 'imagemagick :file 
> "/home/joakim/my_scans/doc.djvu[1]"))
>
> Clearly a better api will be beneficial. When I merged the patch I
> focused on minimizing the breakage of other packages. Even so, Cygwin
> and DOS builds broke. Now that most issues seem resolved, we can maybe
> continue with improving the api.

Yes, please do.

(create-image file nil nil
              :type 'imagemagick
              :width 100
              :height 100)

didn't work, and

(let ((image-type-file-name-regexps '(("." imagemagick))))
  (create-image file nil nil
                :width 100
                :height 100))

didn't work...

-- 
(domestic pets only, the antidote for overdose, milk.)
  address@hidden * Lars Magne Ingebrigtsen




reply via email to

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