Re: [Sawfish] Save image on disk

[ Thread Index | Date Index | More lists.tuxfamily.org/sawfish Archives ]


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 <flohtransporter@xxxxxxxxx> 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


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/