For Programmers: Free Programming Magazines  


Home > Archive > Ruby > August 2005 > RMagick question









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author RMagick question
Phil Tomson

2005-08-30, 9:57 pm


I'm trying to convert several (300) .tif files to .gif files using
RMagick.

But I'm getting the following message:

irb(main):030:0> i = Image::read("ir_mmw_000.tif").first
=> ir_mmw_000.tif TIFF 640x480 PseudoClass 256c 8-bit 311238b
irb(main):031:0> i.class
=> Magick::Image
irb(main):032:0> i.write "foo.gif"
Magick::ImageMagickError: pixel cache is not open `foo.gif':
from (irb):32:in `write'
from (irb):32
from :0


Any ideas?

Phil
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com