Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
Read SVG with small viewbox, resize, and save to raster
Rank: Member
Groups: Guest
Joined: 3/21/2016(UTC) Posts: 23
Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
Hey, I know this topic is "covered" in the docs but I have come across a strange use case. I have SVG's with a viewBox that is small. As an example say 200 x 200. (viewBox="0 0 200 200") If I were to rasterize then resize those SVG's to 500 x 500 it (obviously) becomes extremely pixelated. My question is, can I resize it while it is still a vector THEN export that resized vector to a raster format (in theory pixelation should be minimal since the resize occurred while it was a vector). Thanks Edited by user Wednesday, February 19, 2020 7:07:29 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 9/19/2006(UTC) Posts: 505
Was thanked: 41 time(s) in 41 post(s)
|
Hi, Unfortunately, this is a known issue. There is a problem in the internal combiner which rasterizes vector data without scaling before blending. As a workaround, you can try to use the GraphicsContainer.Scale method, but it doesn't work well with the pen's width. I suppose we'll add a similar method with a single argument, which will fit your needs. Sorry for the inconvenience. |
Best regards, Eugene Kosmin The Aurigma Development Team
|
|
|
|
Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
Read SVG with small viewbox, resize, and save to raster
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.