Open gerrith opened 2 years ago
using -b white or -b black does not work here, the image i always with black background. Using Irfan View instead saves my image as intende with white background. SVG file I used for test:
Source: https://1drv.ms/u/s!Au3srpbuR1mXgu9cE6ny4tQ3jRTs6Q?e=MdjORb
Results: 1) with -b black, 2) -b white, 3) and, as intended white background, converted with i_view64:
1) command line: .\rsvg-convert "SVG\ScanImage157_autotrace.bmp_out.svg_rsvg_convert.png_png2bmp.bmp_NEU_centerline.svg" -f png -o "rsvg_black\ScanImage157_autotrace.bmp_out.svg_rsvg_convert.png_png2bmp.bmp_NEU_centerline.svg.rsvg_convert.png" -b black https://1drv.ms/u/s!Au3srpbuR1mXgvBIIWo4FqNM1d3_tw?e=2e1lIZ
2) command line: .\rsvg-convert "SVG\ScanImage157_autotrace.bmp_out.svg_rsvg_convert.png_png2bmp.bmp_NEU_centerline.svg" -f png -o "rsvg_white\ScanImage157_autotrace.bmp_out.svg_rsvg_convert.png_png2bmp.bmp_NEU_centerline.svg.rsvg_convert.png" -b white https://1drv.ms/u/s!Au3srpbuR1mXgvBJN198taIojzwfQg?e=ZBWOUn
3) i_view64 result: https://1drv.ms/u/s!Au3srpbuR1mXgvBHAM0iB_VgZKLKbw?e=KMJaFw
using -b white or -b black does not work here, the image i always with black background. Using Irfan View instead saves my image as intende with white background. SVG file I used for test:
Source: https://1drv.ms/u/s!Au3srpbuR1mXgu9cE6ny4tQ3jRTs6Q?e=MdjORb
Results: 1) with -b black, 2) -b white, 3) and, as intended white background, converted with i_view64:
1) command line: .\rsvg-convert "SVG\ScanImage157_autotrace.bmp_out.svg_rsvg_convert.png_png2bmp.bmp_NEU_centerline.svg" -f png -o "rsvg_black\ScanImage157_autotrace.bmp_out.svg_rsvg_convert.png_png2bmp.bmp_NEU_centerline.svg.rsvg_convert.png" -b black https://1drv.ms/u/s!Au3srpbuR1mXgvBIIWo4FqNM1d3_tw?e=2e1lIZ
2) command line: .\rsvg-convert "SVG\ScanImage157_autotrace.bmp_out.svg_rsvg_convert.png_png2bmp.bmp_NEU_centerline.svg" -f png -o "rsvg_white\ScanImage157_autotrace.bmp_out.svg_rsvg_convert.png_png2bmp.bmp_NEU_centerline.svg.rsvg_convert.png" -b white https://1drv.ms/u/s!Au3srpbuR1mXgvBJN198taIojzwfQg?e=ZBWOUn
3) i_view64 result: https://1drv.ms/u/s!Au3srpbuR1mXgvBHAM0iB_VgZKLKbw?e=KMJaFw