Displaying 1 result from an estimated 1 matches for "pixelsperinchresolut".
2006 Jul 21
1
setting image resolution with Rmagick
...;<<< code example >>>>>>>>>>
# these are the various techniques I have tried when and after reading
the file, trying any or all of them does not work.
image_render = Magick::Image.read(temp_path){self.density=72}[0]
image_render.units=Magick::PixelsPerInchResolution
image_render.x_resolution=72
image_render.y_resolution=72
# I also tried this when writing the image to disk
image_render.write(temp_path){self.quality = 90,
self.units=Magick::PixelsPerInchResolution, self.density = 72}
<<<<<< code example : end>>>>>>>&...