Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Announcements and Chat > General Discussion

Reply
 
Thread Tools Search this Thread Display Modes
Old 4th February 2025, 01:25   #1  |  Link
jay123210599
Registered User
 
Join Date: Apr 2024
Posts: 324
Lossless Resizing with SVGs

Is it true that you can resize SVG files to any resolution you want without losing quality?

If so, here's a png file I converted to svg using ImageMagick. Try and see if you can resize to any resolution without loss.

https://www.mediafire.com/file/wl1ey...esters.7z/file
jay123210599 is offline   Reply With Quote
Old 4th February 2025, 03:47   #2  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,600
Quote:
Originally Posted by jay123210599 View Post
Is it true that you can resize SVG files to any resolution you want without losing quality?

If so, here's a png file I converted to svg using ImageMagick. Try and see if you can resize to any resolution without loss.

https://www.mediafire.com/file/wl1ey...esters.7z/file

Yes, you can scale losslessly ( even downscale) as a vector format (as a vector only) if the program can handle lossless scaling of vectors. Imagemagick does not. A free vector manipulation tool would be inkscape

Lossless scaling of vectors does NOT change the exported file size of a vector (except for a few bytes) - so if your goal was to reduce disk space, you're wasting your time. Notice you increased the filesize converting to a vector in the first place.

All lossless scaling basically does is keep the original information, but fill in the data fields about what size to re-render the new file at, so when the viewing application opens the resized vector, it re-renders at the newly specified dimensions.

Vectors can be rendered at different dimensions, with far less aliasing and quality issues than "rasterized" images. But if you start with a lossy rasterized image with some compression noise such as your PNG image , it will be "less clean" than scaling a clean vector in the first place
poisondeathray is offline   Reply With Quote
Old 4th February 2025, 11:16   #3  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,596
Your SVG just has the PNG embedded in it. It hasn't converted anything. SVG vector elements can be scaled to any size without going blocky, but that doesn't apply to embedded PNGs.
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 4th February 2025, 17:28   #4  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,058
Google "png to svg convert"
https://www.google.co.uk/search?q=png+to+svg+convert

EDIT: and a YouTube search "png to svg convert"
https://www.youtube.com/results?sear...to+svg+convert

EDIT:
How to Convert PNG Files to SVG File Format for FREE!:- https://www.youtube.com/watch?v=A5TOBCRD_ic
Above gotten from Youtube Search on "offline" png to svg convert":- https://www.youtube.com/results?sear...to+svg+convert

No idea if any of them any good.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 4th February 2025 at 17:39.
StainlessS is offline   Reply With Quote
Old 4th February 2025, 17:58   #5  |  Link
Z2697
Registered User
 
Join Date: Aug 2024
Posts: 359
"vectorize" the raster images is a much more difficult problem to begin with.
Z2697 is offline   Reply With Quote
Old 5th February 2025, 17:48   #6  |  Link
jay123210599
Registered User
 
Join Date: Apr 2024
Posts: 324
Can any of you answer this question?

https://forum.doom9.org/showthread.php?t=186128
jay123210599 is offline   Reply With Quote
Reply

Tags
image-quality, png, svg

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 22:40.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.