Displaying 20 results from an estimated 10000 matches similar to: "gif, jpeg and png image files reader"
2002 Mar 14
1
gif, jpeg and png image files reader AND tcltk image
Hi all,
Roger Peng and Jason Turner's suggestion with ImageMagick seem to be the
simplest "dirty" way
to get the problem solved.
But I ran into yet another interesting but quite round-about way to solve
the problem (partially). Through tcltk package, one can read in the gif
image with
> x <- tkcmd("image", "create", "photo", file=mypic.gif)
2009 Jun 15
1
display SVG, PNG, GIF, JPEG, TIFF, PPM in new plot frame
Dear R-help
I want to display an image file in a new plot frame.
SVG is my preferred format, but I can also consider
PNG, GIF, JPEG, TIFF, and PPM (from ImageMagick).
By way of background (although not material to this
posting), the image file is generated by a call to
'dot' (part of the 'Graphviz' suite) after the required
.dot file has been produced using hand-crafted R code.
2003 Apr 22
3
Problem with pixmap on R 1.7.0?
Hi R users:
I got the following message when I use the pixmap library
on R 1.7.0 over w2K platform (on R 1.6.2 it runs right).
pixmapGrey(matrix(c(0,1),128,128))
Error in .class1(object) : Object "from" not found
I download the library .zip file from:
http://cran.r-project.org/bin/windows/contrib/1.7/pixmap_0.3-2.zip
Other question:
When I try to "Install package(s) from
2006 May 04
5
How to upload only jpeg & gif & png images into public/images using rubyonrails
Hello iam new to rubyonrails. Please any one help me out in "How to upload
only jpeg & gif & png images into public/images using rubyonrails"
Thanks in Advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060504/33a17ad2/attachment.html
2005 Nov 21
3
PNG-import into R
Hi there
I'm looking for a function to read PNG-bitmap-images from a file into R.
I only found:
- the pixmap-package which cannot import png or similar formats
- the rimage-package which can only import lossy jpeg-images (the
convertion from png to jpeg modifies the data!)
Is there any possibility to read PNG-files?
Thanks for any help
Dominic Sydler
2003 Mar 17
4
X11 connection error in web cgi mode only
Dear all,
I am trying to create a web interface using Perl-CGI to call R plots and
to display them.
The following codes works perfectly fine when I copy and paste into the
console directly or if I save it into script.file and then R --no-save <
script.file producing the graphs.
jpeg("graph.jpeg", width=400, height=400)
plot(rnorm(100))
dev.off()
Now, I put the line system("R
2008 Feb 25
4
New version of X11, png and jpeg
R-devel has new versions of the X11(), png() and jpeg() devices on
Unix-alikes. The intention is that these are used identically to the
previous versions (which remain available) but will produce higher-quality
output with more features.
Pros:
Antialiasing of text and lines (can be turned off) but no blurring of
fills.
Buffering of the X11 display and fast repainting from a backing image.
2007 Mar 11
4
Faking it... import local files into attachment_fu
Hello,
I''m working on an import utility that will match the functionality of
uploading an object of a model that uses attachment_fu for
thumbnailing, etc.
Rather than uploading the file via a form, I want to populate the
params[:image][:uploaded_data] with data from a file already on the
server''s file system.
So far, I''ve been able to copy to an instance of Tempfile
2003 Mar 01
1
RE: [R] File opening error after 1020 files opened
Maybe open.connection() should also check if the connection is already
open and given an error or at least a warning if it is. Suggested code
update:
open.connection <- function(con, open="r", blocking=TRUE, ...) {
if (!inherits(con, "connection"))
stop("argument is not a connection")
if (isOpen(con)) # NEW
2003 Apr 04
3
trellis.graphic in for-loop
Hi list,
I am unsuccessfully trying to produce a serious of trellis barcharts from
within a for-loop. The barcharts work outside the loop. What am I missing?
Example attached.
Thanks Herry
#XXXXXXXXXXXXXXXXXXXXXX
trellis.device(bg="white")
trellis.par.get("fontsize")->fontsize
fontsize$default<-16
trellis.par.set("fontsize",fontsize)
2000 Oct 09
2
a listening test tool
"Willmore, David (VS Central)" wrote:
>
> Can ogg22pl take input from standard in? Sometimes leaving the file name
> off will default it to that or by putting a '-' as the file name. Similar
> things go for standard out. (stop me if these aren't familiar terms)
Ogg22pl is is ogg123 with only the sampling rate variable changed. So if
ogg123 can do that,
2005 Feb 25
5
[Rdev] any way to generate "bitmap" (tif, jpeg, png etc) files in R CMD BATCH
Hi Community,
here is the problem, Linux problem (reported to work on Windows). I need
to generate graphical output in any of bitmap format under the 'R CMD
BATCH'. Whereas the script generating png-s works perfectly in the R
session, such things as X11, png and jpeg are not usable in BATCH (they
cannot be switched on by --gui-X11 etc) and X11 is prompted to be
required for png. At
2005 Feb 25
5
[Rdev] any way to generate "bitmap" (tif, jpeg, png etc) files in R CMD BATCH
Hi Community,
here is the problem, Linux problem (reported to work on Windows). I need
to generate graphical output in any of bitmap format under the 'R CMD
BATCH'. Whereas the script generating png-s works perfectly in the R
session, such things as X11, png and jpeg are not usable in BATCH (they
cannot be switched on by --gui-X11 etc) and X11 is prompted to be
required for png. At
2003 Apr 28
4
how to present a table in powerpoint?
Hi,
I have a nicely printed table of results generated by R's
> print(myresult)
where myresult is a "data frame".
I am trying to put this table into a powerpoint slide for presentation without re-typing and re-formating, i.e.,
present it as it is in the R window. This saves time when there are a lot of tables to be presented.
I tried
> sink("myresult.txt")
>
2003 Dec 03
5
add a point to regression line and cook's distance
Hi,
This is more a statistics question rather than R question. But I thought people on this list may have some pointers.
MY question is like the following:
I would like to have a robust regression line. The data I have are mostly clustered around a small range. So
the regression line tend to be influenced strongly by outlier points (with large cook's distance). From the application
's
2007 Feb 08
1
Impossible to get jpeg or png output
Hi,
When I want to output a png file, I have the following error message :
Error dans X11(paste("jpeg::", quality, ":", filename, sep = ""), width, :
inpossible de d?marrer le p?riph?rique JPEG
De plus : Warning message:
impossible d'ouvrir le fichier JPEG 'Test.jpeg'
or in english
Error in X11(paste("jpeg::", quality, ":",
2007 Oct 16
4
Create *png or *.jpeg plot under Linux
I have an example where i plot an image and load it dynamically in an image
analysis tool to create
a film (dynamic graph). This works well under Windows but i can't plot to
*.png or *.jpeg files
under Linux (Ubuntu) with the same command.
I'm using:
png(file,width=200,height=200) or jpeg(file,width=200,height=200)
Any help is appreciated
With kind regards
Marcel
--
View this
2003 Dec 30
2
split.screen problem with jpeg/png device (PR#6223)
Full_Name: Steve Koehler
Version: 1.8.1
OS: Solaris and Windows
Submission from: (NULL) (192.55.214.50)
In the following program, if output is sent to X11, you get all four graphs,
but if output is sent to .jpeg, you only get the C and D graphs. A workaround
is to do all the screen splitting at the top, before using any screens. This
also
fails with .png output.
jpeg ("test.jpeg")
2007 Apr 02
3
Device drivers - png()/jpeg()
Hallo R-experts,
I produced a R graphic with the help of the following commands:
plot(0:4,0:4, type = "n", xlab = "X-Werte", ylab = "Y-Werte")
points(rnorm(100), rnorm(100), col = "black") locator(2, type= "l")
locator(2, type = "l", col = "red")
I could display this graphic by using windows() before entering those
commands.
2008 Feb 19
1
Bug using X11 on mac osx (for jpeg or png creation) (PR#10800)
Full_Name: Stephane Bonneaud
Version: 2.6.2
OS: OSX - Leopard 10.5.2
Submission from: (NULL) (195.221.233.130)
Hello,
I have a R code file containing the following code:
-------
# This code is in r2jpg.r
# myData is filled here with some data from a file
jpeg(filename="test.jpg",width=960,height=720,pointsize=16,quality=100)
plot(myData,xlab="anything",