Displaying 2 results from an estimated 2 matches for "bmp256".
Did you mean:
b256
2006 Sep 12
0
Bitmap file size problems
...ws.
windows(10,1,xpinch=96,ypinch=192)
will produce a window which is higher than wide,
which is not what I expected after reading the docs.
(This also is true in R 2.4.0 alpha)
The alternative solution is to use dev2bitmap.
windows(3,2)
plot(1:10)
dev2bitmap(file="test.bmp",type="bmp256",width=3,height=2,res=100)
produces a bitmap of size 300x200 which is exactly what is to
be expected. In this bitmap, however, the leftmost
part of the image displayed in R's graphics window is cut off.
What is the best way of creating bitmaps of a given size
containing the full contents...
2007 Apr 25
5
Upload PDF / Save as tiff
Hi,
I''m trying to automate the conversion of a PDF document received via a
browser upload to a tiff image via ghostscript. I have the PDF data in
a string, and I need the tiff data returned into a string.
The general command I want to emulate is:
type test.pdf | "c:\program files\gs\gs8.56\bin\gswin32c.exe" -q
-dNOPAUSE -dBATCH -sDEVICE=tiffg4 -sOutputFile=- > test5.tiff