Re: Save image on disk

"Robert 'Bobby' Zenz" <[email protected]>
Newsgroups gmane.comp.window-managers.sawfish
Message-ID <20130906215504.4e468f38@Necronomicon>
If I see this right, make-image returns an image *object*, so you better
test if convert can actually handle that (no Sawfish near me right now
to test it myself).

On Fri, 6 Sep 2013 19:17:41 +0200
fuchur <[email protected]> wrote:

> Hi,
> 
> I try to save a image.png with sawfish on my disk with convert (from
> imagemagick). I open sawish-client and test with:
> 
> (setq aaa (concat "/tmp" "/image.png"))
> (setq bbb (concat "/tmp" "/image-new.png"))
> (system (format nil "convert %s %s" aaa bbb))
> 
> Now i have a new image "/tmp/image-new.png" on the disk.
> 
> Then i try:
> (setq ccc (make-image (concat "/tmp" "/image.png")))
> (setq ddd (concat "/tmp" "/image-make-image.png"))
> (system (format nil "convert %s %s" ccc ddd))
> 
> No image "/tmp/image-make-image.png" was created.
> 
> Anyone know what is wrong or which program can handle images from
> make-image in sawfish?
> 


-- 
Sawfish ML
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.