Displaying 2 results from an estimated 2 matches for "200dpi".
Did you mean:
100dpi
2008 Feb 18
3
Displaying a base64-encoded image within an rhtml template
...o display the image:
send_data image, :filename => ''fedex_shipping_label.png'', :type =>
''image/png'', :disposition => ''inline''
That works fine, but I''d like to be able to set some html/css
parameters on it so that it prints at 200dpi, 4x6 inches (the RMagick
''resample'' method wasn''t working for me). I don''t really want to save
the label as a file, either. Is there a way to send a variable to the
template (e.g., @image) so that it gets rendered as an image?
Thank you!
-Kyle
--~--~---------...
2006 Nov 22
3
saving graphics in jpeg format
Dear R users,
I need to save a graph in jpeg format. After plotting the graph,
when the graphics window is active, in the File menu, the
Save as / Jpeg / 100% quality correctly saves the graph in jpeg format.
But I would like to know, how could I control the resolution (in dpi)
of the saved jpeg file? I need to produce a jpeg at 1200 dpi.
I have tried also the jpeg function in the package