SVGwlx 0.0.2 - lister plugin

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

SVGwlx 0.0.2 - lister plugin

Post by *fenix_productions »

This plugin allows you to view SVG / SVGZ files thumbnails.

For proper work it requires:
- Inkscape - converts SVG to temporary PNG.

Please remember to set valid Inkscape path in INI file.

Download:
http://cid-e12762cbdafb3c47.skydrive.live.com/self.aspx/TC/svgwlx%7C_0.0.2.zip

Special thanks to Alextp for PNGDelphi sources :)
Last edited by fenix_productions on 2009-02-03, 18:32 UTC, edited 1 time in total.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

It's looking nice so far... and rather fast considering it's loading inkscape.
TC for Linux please!
User avatar
flm404
Junior Member
Junior Member
Posts: 25
Joined: 2007-12-02, 23:56 UTC

Post by *flm404 »

It works... But slow. Inkview works faster... Also, there are some typos in readme.txt ("Inkscpae", "thwo"). Thanks for plugin anyway! ;)
SFMBE (Sorry for my bad english)
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2flm404
Inkview faster?
For viewing - yes but not for thumbnails.

Unfortunately: there is no good and free SVG viewer with thumbs. Viewing in lister is switched off by default because of speed. Using IV or XnV for SVG thumbs is waste of the time because they give very bad output for it.

This plugin will be quicker if I successfully get PNG handling with GDI+ (or libpng) in Borland C++ Builder 6. Without that: IV (or XnV) conversion is needed.

Being honest: I wrote this plugin because multiLister does not support thumbnails mode and I wanted to see all of my SVGs quickly.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
flm404
Junior Member
Junior Member
Posts: 25
Joined: 2007-12-02, 23:56 UTC

Post by *flm404 »

fenix_productions, it is slow any way :(.

p.s.: i did some googling and found RENESIS Windows Thumbnail Plugin. It works pretty fast, but need some more testing. Standalone player had some crashs here...

p.p.s.: sorry for offtopic.
SFMBE (Sorry for my bad english)
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2flm404
flm404 wrote:fenix_productions, it is slow any way :(.
Similar speed for other solutions here. With TC's caching enabled only first time browsing might be slow but after that - works perfect (at least for me).
flm404 wrote:p.s.: i did some googling and found RENESIS Windows Thumbnail Plugin. It works pretty fast, but need some more testing. Standalone player had some crashs here...
This is not portable solution. Currently my plugin has the same problem but I want to add %COMMANDER_PATH% support to fix it.

As for player... I've never got it to work correctly.

Thank you for your thoughts after all.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
nsp
Power Member
Power Member
Posts: 1917
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

fenix_productions wrote: This is not portable solution. Currently my plugin has the same problem but I want to add %COMMANDER_PATH% support to fix it.
Did you try image-magic convert command ?
or the svg2swf-2 stuff on sourceforge ??

Inkscape is too big for my small pendrive !
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

Inkscape takes just 11.5 MB when optimized properly.
But I agree that it's overkill.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2nsp
ImageMagic was my first shot but it takes 67MB after installation and conversion quality (for SVG) is very far from good.

svg2swf converts to SWF only but they use libsvg which might be handy. I will take a look on that.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2fp
Didn\t you try to use PngDelphi (site is down) for handling PNG?
It's fast.
cheesecake
Junior Member
Junior Member
Posts: 16
Joined: 2007-04-19, 03:09 UTC

Post by *cheesecake »

Very Good. It will better if WLX can combine with WDX, I mean, 1 file to have both wlx & wdx capabilities, like font 0.9.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2Alextp
No because I couldn't find proper download source and I feel strange when I have to use Delphi resources in Builder.

I have also took a look on ATViewer's code (and ATImageBox) but it is still overkill.

2cheesecake
I would rather like to keep it separated, sorry. I am not pro-developer and it is easier for me to handle C++ in smaller doses ;)
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2fenix_productions
anyway, if you want to use it (PngDelphi), just mail me for source code.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

Version 0.0.2 is out and PNG files are handled by plugin itself.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

fp

searched for rsvg.exe, found
prase 'Distribute also rsvg-view.exe and rsvg.exe'
in google

So rsvg maybe available.

Using rsvg.exe you can convert svg without that program..
Post Reply