Hi,
When i load some SVG images and then save them as SVG, the browser is not showing them correctly.
Here is the code:
Aspose.Imaging.ImageOptionsBase IOB1 = null;
IOB1 = new Aspose.Imaging.ImageOptions.SvgOptions();
List<KeyValuePair<string, string>> Svg_files_in = new List<KeyValuePair<string, string>>();
Svg_files_in.Add(new KeyValuePair<string, string>(@“D:\J\1.svg”, @“D:\J\1_new.svg”));
Svg_files_in.Add(new KeyValuePair<string, string>(@“D:\J\2.svg”, @“D:\J\2_new.svg”));
Svg_files_in.Add(new KeyValuePair<string, string>(@“D:\J\3.svg”, @“D:\J\3_new.svg”));
Svg_files_in.Add(new KeyValuePair<string, string>(@“D:\J\4.svg”, @“D:\J\4_new.svg”));
foreach (var item in Svg_files_in)
{
using (Aspose.Imaging.Image IMG1 = Aspose.Imaging.Image.Load(item.Key))
{
IMG1.Save(item.Value, IOB1);
}
}
Thanks,
Anton
New.zip (3.9 KB)
Source.zip (4.1 KB)