similar to: Serving static svg images in the public folder

Displaying 20 results from an estimated 6000 matches similar to: "Serving static svg images in the public folder"

2006 Mar 27
2
svg image link
the link_to command is really nice, especially with confirm built in - wondering if there is a way to use it with SVG images since SVG doesn''t seem to work with image_tag I can display svg images (in Firefox) with the following code: <embed width=32 height=32 src="/images/quit.svg" type="image/svg+xml"></embed> "normal" link_to code:
2006 Mar 11
8
SVG in Rails
How can I show an SVG image in a view - I only see how to use jpgs or pngs -- Posted via http://www.ruby-forum.com/.
2005 Feb 08
1
Windows BMPs: Why grey background? How to display BMP in R?
"white" is supposed to be the default background for BMPs (according to ?bmp) but it doesn't work > bmp("test.bmp", bg="white") > plot(0) > dev.off() # results in grey background # This seems to be a good enough workaround for now. > bmp("test.bmp") > par(bg="white") > plot(0) > dev.off() # background is white
2007 May 28
1
svg as a spescial case for image
SVG starts to become more useful in browsers like Firefox, OmniWeb, Opera and soon Safari. There is a couple problem. Since no browser support svg embedded with img one need to fall back to html from: <object data="/path/to/img.svg" type="image/svg+xml" width="512" height="384">Alt text</object> Second, one need to write the width
2019 Jun 19
0
point size in svg
On 6/19/19 8:19 AM, Spencer Graves wrote: > Hello, All: > > > ????? I'm unable to control the font size in plots to svg. Consider > the following: > > > svg('cex-svg.svg') > cex. <- 5 > plot(1:2, cex.axis=cex.) > text(1:2, 1:2, c('as', 'DF'), > ????????? cex=cex.) > dev.off() > > > ????? When I open this in Gimp
2007 Jan 04
0
dashed lines and SVG files devSVG("/folderul/unde/salvez/myplot.svg", width=10, height=10) plot(1:10, 1:10) dev.off()
Dear helpers, I have a question about the SVG device. It works fine, the SVG file is indeed produced, only the graphic differs from the R window. In the SVG file the dashed line is just a regular plain one. My toy example is: library(RSvgDevice) devSVG("myplot.svg", width=10, height=10) plot(1:10) abline(v=5, lty=?dashed?) dev.off() Is there anything more (or different) I should do?
2003 Dec 17
0
Visio vsd/vdx vs. svg
Tom, I note that you use Visio for your network diagrams. Have you considered placing SVG source in CVS? I believe Visio can import/export SVG now. If you''re not using the newest version, I think the VDXtoSVG project can convert Visio 2002 VDX files to SVG. If you''re using a version older than that, I doubt an acceptable solution is achievable. VDX to SVG
2012 Feb 25
0
embed a bitmap by link reference into a SVG image
I would like, in R, to embed a bitmap image /by link reference/ into a SVG plot image. Images may be included in an SVG by http://www.w3.org/TR/SVG/struct.html#ImageElementHrefAttribute link reference , or even http://en.wikipedia.org/wiki/Data_Uri data , for example: My objective is to reduce the size of the SVG image files I am generating (My plots have about 10? points: that's a
2008 Feb 06
1
xloadimage in centos 5.1
I have noticed that xloadimage rpm is not in centos 5.1 I use the command "xview -identity" to get the size of gifs, jpgs, and pngs. xview is part of the xloadimage package. The command "file filename" also reports sizes for gifs and pngs BUT not for jpgs. Is there an alternative command to use to report gif jpg and png sizes? I thought about just getting an older
2010 Sep 29
1
svg plot and dashed lines
Dear users, When I boxplot(), the lines of the whiskers are dashed. However, when I save in an svg file, the dashed lines of the whiskers are not dashed anymore. How can I have the dashed lines in the svg file? I don't have this problem with a ps file, but I cannot edit such file as easily as an svg file. That's why I'd like to stick to the svg format. Thanks in advance, Ivan df
2009 Jan 21
1
Italics in svg output display as bold (PR#13463)
Full_Name: Yan Wong Version: 2.8.1 OS: Mac OS X 10.4 Submission from: (NULL) (78.149.167.246) When printing a plot to and svg file, text intended to be in italics is rendered in bold (svg file viewed using both Safari 3.2.1 and Firefox 2.0.0.9. For example, try viewing the test.svg file generated by svg("test.svg", width=4,4,8) plot.new();
2009 Jul 31
1
SVG output on Windows OS
How may one save a graphic as svg on Windows? The svg() command is recognized and functions well on Linux, etc., but not on Windows, it seems. I'm trying to use Hadley Wickam's ggplot2 and I would like to be able to save created charts as svg for later input into Illustrator. I am able to accomplish this workflow under Linux, but I don't know how to get R to recognize the svg() command
2007 Nov 05
0
vector graphics/ SVG plots via RSvgDevice
System: Linux Ubuntu 7.10 Gibbon kernel 2.6.22-14-generic Emacs ver. 22.1.1 ESS ver. 5.3.0 R version 2.6.0 (2007-10-03) ------------------------------------------------ Colleagues This is a follow-up note to my earlier post under this header, giving my solution. First, with some trepidation I upgraded my ubuntu distro, and this time did a full reinstall, so I did not break my system, as I have
2011 Mar 14
2
svg malformed on CentOS (epel R)
There is an issue with the default svg device on a centos workstation that I am using. It does not result in an error, but it produces malformed svg images. Exactly the same script works just fine on an ubuntu box. On Ubuntu I am using R binary that comes with maverick, on centos I am using the latest R binary from EPEL. Other than that both boxes are pretty clean, with only the dependencies
2019 Jun 19
3
point size in svg
Hello, All: ????? I'm unable to control the font size in plots to svg.? Consider the following: svg('cex-svg.svg') cex. <- 5 plot(1:2, cex.axis=cex.) text(1:2, 1:2, c('as', 'DF'), ????????? cex=cex.) dev.off() ????? When I open this in Gimp 2.10.4, the font size is tiny.? I also tried: svg('cex-svg.svg', width=15, height=15, pointsize=24) cex.
2011 May 19
2
Error in svg() : cairo-based devices are not supported on this build
Hello, Sorry if it is not the right place.. I installed R-2.13.0 on a x86_64 linux server. All went fine, but the svg() function yells: > svg() Error in svg() : cairo-based devices are not supported on this build I have the Cairo, cairoDevice, RSvgDevice packages installed, and running. > Cairo.capabilities() png jpeg tiff pdf svg ps x11 win TRUE TRUE TRUE TRUE TRUE
2007 Jan 04
0
dashed lines and SVG files
Sorry for duplicating the message, the previous had an unintended subject line... Dear helpers, I have a question about the SVG device. It works fine, the SVG file is indeed produced, only the graphic differs from the R window. In the SVG file the dashed line is just a regular plain one. My toy example is: library(RSvgDevice) devSVG("myplot.svg", width=10, height=10) plot(1:10)
2018 Aug 31
0
svg ignores cex.axis in R3.5.1 on macOS
On 2018-08-31 14:21, Spencer Graves wrote: > Plots produced using svg in R 3.5.1 under macOS 10.13.6 ignores > cex.axis=2.? Consider the following: > > > > plot(1:2, cex.axis=2) > > svg('svg_ignores_cex.axis.svg') > > plot(1:2, cex.axis=2) > > dev.off() > > sessionInfo() > R version 3.5.1 (2018-07-02) > Platform: x86_64-apple-darwin15.6.0
2006 Jan 15
0
Firefox slide show with embedded SVG
Now that T. Jake Luciani has created a working RSvgDevice package (with one function called devSVG), we can produce SVG output from ordinary plots, not necessarily just those made with grid. Since Firefox and Mozilla support SVG (in recent versions), this might be a good way to put figures in web pages in a way that can be easily scaled, and even (with tweaking) manipulated with scripts.
2023 Mar 08
1
insert hyperlink into svg graphic
Hi On 8/03/23 15:27, Rusty Travis wrote: > On 3/7/23 13:12, Paul Murrell wrote: >> Hi >> >> I think the main issue here is that you are *drawing* text on the >> graphics device, so I would only expect to see literal XML text output >> in the result. >> ''' >> >> Hope that helps > > Thank you for your consideration of the