You are not logged in.

#1 2012-09-20 13:22:05

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

[viewnior] wrong SVG behaviour

hi to everybody,

i use Viewnior as image viewer, and I've never encountered a problem. until now.

trying to open a SVG image i notice a "different" behaviour between Firefox (a browser) and Viewnior. when the first handles the SVGs as vectorial files -> zooming in you can always see thin borders and no shades; instead Viewnior handles SVGs as "simple" images and zooming in appear square

I've also tested other image viewers and I've found that EOG, the image viewer of GNOME, is able to open a SVG image like a browser.

is there a way to "invert" the behaviour? how can i "fix" the Viewnior behaviour?

thanks


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#2 2012-09-20 13:54:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,554
Website

Re: [viewnior] wrong SVG behaviour

I'm not familiar with viewnoir, but to display an svg - or any vector format - the program must first rasterize/render it into a bitmapped format.  Most programs *should* rerender the image whenever the user zooms in or out.  It sounds like viewnoir is just rendering once, then letting you interact only with the rendered data.

Not a solution - I know - but it might help your search more.  Are there rendering/rasterizer settings?  Can you increase a default resolution?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2012-09-20 16:04:07

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [viewnior] wrong SVG behaviour

Trilby wrote:

I'm not familiar with viewnoir, but to display an svg - or any vector format - the program must first rasterize/render it into a bitmapped format.  Most programs *should* rerender the image whenever the user zooms in or out.  It sounds like viewnoir is just rendering once, then letting you interact only with the rendered data.

Not a solution - I know - but it might help your search more.  Are there rendering/rasterizer settings?  Can you increase a default resolution?

yes, this is more or less the problem.

no, there aren't any options
no, there isn't a default resolution


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#4 2012-09-20 16:14:52

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [viewnior] wrong SVG behaviour

I would just report this to the Viewnior developer.

Offline

#5 2012-09-20 16:15:58

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [viewnior] wrong SVG behaviour

thank you


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#6 2012-09-20 16:17:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,554
Website

Re: [viewnior] wrong SVG behaviour

I tried it out, I get the same behavior.  One ugly hack is to change the width and height settings in the svg.  viewnior selects a resolution based on these settings.

I have a 275x40 viewbox for one of my svgs and viewnior would not zoom well.  But I changed the width and height settings from 100% to 2750 and 400 in the svg, then viewnior rendered it at a much higher resolution.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB