SVGView 1.4.5

Plugin for TC for view SVG files.

It can use RSVG (rsvg-convert.exe) or ImageMagic or Inkscape for convert SVG files to bitmap.

Unpacked version of RSVG (from http://opensourcepack.blogspot.ru/2012/06/rsvg-convert-svg-image-conversion-tool.html) used by default and included to archive.
For open SVG files with Unicode symbols plugin copy these files to temp folder and open it.
If you don't want this behavior then switch off it in ini:
[Setup]
UseRSVGHelper=0

For ImageMagick support download it from
https://imagemagick.org/script/download.php#windows
put files to subdir in plugin directory
ImageMagick_x32\
for 32-bit ImageMagick files, and
ImageMagick_x64\
for 64-bit ImageMagick files and switch off RSVG:
[Setup]
UseRSVG=0

For Inkscape 1.0+ must set ini
InkscapeParamsFull64 and InkscapeParamsSize64 and/or InkscapeParamsFull and InkscapeParamsSize.
Example for Inkscape 1.1:
InkscapeParamsFull=--export-filename=<$output> <$input>
InkscapeParamsSize=--export-filename=<$output> <$input> -w <$width> -h <$height>
Example for Inkscape 0.9:
InkscapeParamsFull=<$input> -e=<$output> -z
InkscapeParamsSize=<$input> -e=<$output> -w<$width> -h<$height> -z


License agreement
This software provided "AS-IS" without warranty of any kind for non-commercial use only.


Changes history

Ver 1.2.1:
 * public release.

Ver 1.2.2:
 * new rsvg-convert.exe version;
 + OpenWidth= in INI [Setup] section: set width for open image (10-10000, 0 is default);
 + OpenHeight= in INI [Setup] section: set height for open image (10-10000, 0 is default).

Ver 1.2.3:
 * fixed bug of image draw in TC thumbnail mode.

Ver 1.2.4:
 * try use short name first for Unicode filenames;
 * possible zero bytes file size crash fixed.

Ver 1.2.5:
 + try check svgz is zip and contain svg with same name;
 + RSVGPath= in INI [Setup] section: set full path to rsvg converter.

Ver 1.2.7:
 * fix for try use short name first for Unicode and very long filenames;
 + "Reload Image" menu item;
 * some internal changes.

Ver 1.2.8:
 * converter RSVG-Convert updated to version 2.40.20;
 + background color;
 + HighPriority=1 in INI [Setup] section: set high priority for converter;
 + ImageMagickPath= and ImageMagickPath64= in INI [Setup] section: set full path to ImageMagic converter;
 + ImageMagicAdditionalCmd= and RSVGAdditionalCmd= in INI [Setup] section: additional command line parameters for converter;
 * internal changes.

Ver 1.2.8.1:
 + ShowThumbnailsInTC=1 in INI [Setup] section: plugin can get thumbnails for TC;
 + ShowLoadingTime=1 in INI [Setup] section: show image loading time;
 + InternalConvertPNGtoBitmap=0 in INI [Setup] section: convert png image to bitmap before show for avoiding zoom errors (only for plugin view);
 * some internal changes.

Ver 1.3:
 + UseInkscape=0 in INI [Setup] section: use Inkscape editor for convert SVG files (tested with version 0.92.3);
 + InkscapePath= in INI [Setup] section: set full path to Inkscape;
 + RereadIni=0 in INI [Setup] section: reread INI on every plugin start;
 * internal changes.

Ver 1.3.1:
 + TimeOutSec=0 in INI [Setup] section: wait n seconds for converter execution (default: 0 is infinite);
 * changes in thumbnails for TC drawing.

Ver 1.4:
 + custom color background or chess background for image itself;
 + OpenWidth and OpenHeight in INI file now can handle value -1 for set loading image size to window size;
 * read XML first for get image dimensions; 
 * internal changes.

Ver 1.4.1:
 + left/right swipe for touch screens;
 + support Background.png in plugin folder (for plugin background);
 * internal changes.

Ver 1.4.1.2:
 * internal changes.

Ver 1.4.1.3:
 * internal changes.

Ver 1.4.2:
 + additional copy PNG image to Clipboard;
 + CopyPngToClipboard=1 in INI [Setup] section: additional copy PNG image to Clipboard;
 * internal changes.

Ver 1.4.3.1:
 + new option inside 'Reload Image' menu: 'Fit Big' for fit only big images to window; 
 + UpdateListerCaption=0 in INI [Setup] section: update Lister caption when file in plugin changed;
 + DontResizeSmallThumbnail=0 in INI [Setup] section: don't resize small images in TC thumbnails mode;
 * internal changes.

Ver 1.4.3.2:
 * partially fixed image loading if size not exists in file "header";
 + ShowOriginalToLoadedRatioPercent=0 in INI [Setup] section: show original to loaded size ratio percent;
 * internal changes.

Ver 1.4.4.1:
 + antialiasing when show background image;
 + AntialisingOverBackground=1 in INI [Setup] section: enable antialiasing when show background image;
 * now short path used for temp file;
 * internal changes.

Ver 1.4.5:
 + InkscapePath64= in INI [Setup] section: full path to Inkscape.exe for 64-bit plugin (if empty then will be used path for 32-bit);
 + InkscapeParamsFull64= in INI [Setup] section: full size image load (64): command line for Inkscape.exe (default if empty) [Inkscape 1.1: --export-filename=<$output> <$input>];
 + InkscapeParamsSize64= in INI [Setup] section: specified size image load (64): command line for Inkscape.exe (default if empty) [Inkscape 1.1: --export-filename=<$output> <$input> -w <$width> -h <$height>];
 + InkscapeParamsFull= in INI [Setup] section: full size image load : command line for Inkscape.exe (default if empty); also will be used for 64-bit plugin if path taken from InkscapePath);
 + InkscapeParamsSize= in INI [Setup] section: specified size image load (64): command line for Inkscape.exe (default if empty); also will be used for 64-bit plugin if path taken from InkscapePath);
 * internal changes.


---
Suggestions, Wishes and bug reports are welcome!
ProgMan13, (ProgMan13@mail.ru)