[svg-developers] Re: Resolution

2005-03-21 Thread Andreas Neumann


no, SVG, as a vector graphics, does not have a resolution. 
 
Of course, if you implement SVG you have to decide on the data types 
to use. Depending on the data type you use to represent the SVG 
coordinates, you will have a certain range of possible values, hence 
a resolution ... but otherwise, no. 
 
If you rasterize SVG you have to define at what resolution you want 
to rasterize the graphics. 
 
Andreas 
 
--- In svg-developers@yahoogroups.com, pukkypa [EMAIL PROTECTED] 
wrote: 
  
 hi all, 
 i've question about resolution of svg. does svg have 
resolution like  
 the raster graphics? if i convert svg to raster graphics ex. 
jpeg,how i  
 know they have the same resolution? 
 Regards, 
   pukky 





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Re: Resolution

2005-03-21 Thread pukkypa


hi ,
   if i'll compare the size between svg file and jpeg file at the same 
resolution, how i can do ?  
   or the best resoltion in  jpeg is equal the svg ??
   thanks in advance
 pukky
--- In svg-developers@yahoogroups.com, Holger Will [EMAIL PROTECTED] 
wrote:
 Andreas Neumann wrote:
 
 
  no, SVG, as a vector graphics, does not have a resolution.
 
  Of course, if you implement SVG you have to decide on the data 
types
  to use. Depending on the data type you use to represent the SVG
  coordinates, you will have a certain range of possible values, hence
  a resolution ... but otherwise, no.
 
  If you rasterize SVG you have to define at what resolution you want
  to rasterize the graphics.
 
 which you can do in ASV with  a processing instruction. here is the 
 paragraph from the implementation whitepaper:
 
 
 Processing Instructions
 
 The only non-standard processing instruction 
 http://www.w3.org/TR/REC-xml#sec-pi currently recognized is 
 |AdobeSVGViewer|. If present it must appear before the root 
|svg| 
 element. This processing instruction supports the following optional 
 attribute-like parameters:
 
 OptionNotes
 resolutionThis specifies the minimal rendering resolution 
when 
 rasterization is required (e.g. for printing and ActiveX embedding in 
 Microsoft Office). The value should be a number, which is interpreted 
as 
 dots per inch.
 # saveValid values are: disable: causes all menu options that deal 
 with accessing SVG source to be removed.
 # snapshot: causes the save option to save a snapshot of the DOM 
rather 
 then a copy of original file. This setting is also used to allow ActiveX 
 hosts to save SVG files.
 # original: normal operation--save as saves the original file.
 
 Sample usage: |?AdobeSVGViewer resolution=300 
save=disable?|
 
 
 
 
  Andreas
 
  --- In svg-developers@yahoogroups.com, pukkypa 
[EMAIL PROTECTED]
  wrote:
   
   hi all,
   i've question about resolution of svg. does svg have
  resolution like 
   the raster graphics? if i convert svg to raster graphics ex.
  jpeg,how i 
   know they have the same resolution?
   Regards,
 pukky
 
 





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/