lib/rabbit/image/eps.rb in rabbit-2.1.2 vs lib/rabbit/image/eps.rb in rabbit-2.1.3
- old
+ new
@@ -32,19 +32,19 @@
end
end
private
def update_size
- @pixbuf = load_image.pixbuf
+ @pixbuf = load_image
end
def load_image(width=nil, height=nil)
data = begin
eps_to_png(width, height)
rescue EPSCanNotHandleError
eps_to_pnm(width, height)
end
- load_by_pixbuf_loader(data)
+ load_data(data)
end
def eps_to_png(width=nil, height=nil)
eps_to(width, height, "pngalpha")
end