SVGwlx 0.0.2 - lister plugin
Moderators: Hacker, petermad, Stefan2, white
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2Alextp
Thanks for that hint.
I've tested it a little bit and seems to work OK.
One problematic thing will be to check GIMP DLL files licensing because rsvg-convert.exe needs some of them to work (4MB, 16 files). I will also have to compare conversion times because that solution gives me the feeling of being slower. I'll try to find out the best solution soon.
Eh... If someone more skilled could take a look on rsvg-view.exe code...
Thanks for that hint.
I've tested it a little bit and seems to work OK.
One problematic thing will be to check GIMP DLL files licensing because rsvg-convert.exe needs some of them to work (4MB, 16 files). I will also have to compare conversion times because that solution gives me the feeling of being slower. I'll try to find out the best solution soon.
Eh... If someone more skilled could take a look on rsvg-view.exe code...
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
It cannot be slower (same code as IncScape)
smth wrong with DLL..
smth wrong with DLL..
Last edited by Alextp on 2009-04-13, 16:38 UTC, edited 1 time in total.
found a talk about tool:
http://meta.wikimedia.org/wiki/Talk:SVG_image_support
See "rsvg for Windows port", do you see it?
http://meta.wikimedia.org/wiki/Talk:SVG_image_support
See "rsvg for Windows port", do you see it?
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2Alextp
Unfortunatelly my Borland Builder crashes when I try to compile old sources of my plugin and I can't figure out why. I've tried to reinstall it without success.
That is why I can't make it right away
So... either I will write this WLX again in Visual Studio or someone will take existing sources and change "Inkscape calling" lines to valid tool.
Second solution is is a work for just few minutes in Builder and I really wanted to do it but fate was against me... Rewriting WLX completely will take a time.
Thank you for your help after all.
PS. If someone wants to fix it SVG converter is here:
http://cid-e12762cbdafb3c47.skydrive.live.com/self.aspx/TC/converter.zip
Sources:
http://cid-e12762cbdafb3c47.skydrive.live.com/self.aspx/TC/svgwlx%7C_0.02%7C_src.zip
Unfortunatelly my Borland Builder crashes when I try to compile old sources of my plugin and I can't figure out why. I've tried to reinstall it without success.
That is why I can't make it right away

So... either I will write this WLX again in Visual Studio or someone will take existing sources and change "Inkscape calling" lines to valid tool.
Second solution is is a work for just few minutes in Builder and I really wanted to do it but fate was against me... Rewriting WLX completely will take a time.
Thank you for your help after all.
PS. If someone wants to fix it SVG converter is here:
http://cid-e12762cbdafb3c47.skydrive.live.com/self.aspx/TC/converter.zip
Sources:
http://cid-e12762cbdafb3c47.skydrive.live.com/self.aspx/TC/svgwlx%7C_0.02%7C_src.zip
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
Finally I rewrote this plugin in VS for using rsvg converter.
If anyone is willing to test, here it is:
http://cid-e12762cbdafb3c47.skydrive.live.com/self.aspx/TC/svgwlx%7C_vs%7C_0.1.zip
Sources:
http://cid-e12762cbdafb3c47.skydrive.live.com/self.aspx/TC/SVGwlx%7C_vs%7C_0.1%7C_src.zip
I'd like to ask people here for two things:
1. How should I licence that? I am not good with whole GPL stuff
2. Why if I use resizing method provided in Lister plugins SDK, something strange happens with transparent images background?
If anyone is willing to test, here it is:
http://cid-e12762cbdafb3c47.skydrive.live.com/self.aspx/TC/svgwlx%7C_vs%7C_0.1.zip
Sources:
http://cid-e12762cbdafb3c47.skydrive.live.com/self.aspx/TC/SVGwlx%7C_vs%7C_0.1%7C_src.zip
I'd like to ask people here for two things:
1. How should I licence that? I am not good with whole GPL stuff

2. Why if I use resizing method provided in Lister plugins SDK, something strange happens with transparent images background?
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
pluginst.inf:
Code: Select all
[plugininstall]
description=SVG viewer for Lister
type=wlx
file=SVGwlx_vs.wlx
defaultdir=SVG
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2Alextp
The problem is in converter and libraries it uses. I am not sure which licence is proper because some files seems to fall under Mozilla, other - under GPL (v. 2 or 3). I can only assume that I should use wider one (but which is wider). Personally I'd choose BSD (or similar) because I don't like GPL v.3 completely.
BTW Any idea about "background issue" (described below)?
PNG files are generated correctly and I can load them using GdiPlus. There is no problem with their transparency no matter which colour I choose while getting HBITMAP. But as soon as I un-comment resizing procedure (from Lister SDK) background seems to change. Sometimes it is completely transparent, sometimes goes full blue and sometimes it looks like mix of GDI colour and TC background. I don't know what is the reason of this behaviour because it can happen for the same SVG.
Well, since it looks like TC resizes thumbs properly by it's own I could forget about it but it bothers me
The problem is in converter and libraries it uses. I am not sure which licence is proper because some files seems to fall under Mozilla, other - under GPL (v. 2 or 3). I can only assume that I should use wider one (but which is wider). Personally I'd choose BSD (or similar) because I don't like GPL v.3 completely.
BTW Any idea about "background issue" (described below)?
PNG files are generated correctly and I can load them using GdiPlus. There is no problem with their transparency no matter which colour I choose while getting HBITMAP. But as soon as I un-comment resizing procedure (from Lister SDK) background seems to change. Sometimes it is completely transparent, sometimes goes full blue and sometimes it looks like mix of GDI colour and TC background. I don't know what is the reason of this behaviour because it can happen for the same SVG.
Well, since it looks like TC resizes thumbs properly by it's own I could forget about it but it bothers me

"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
fenix_productions
GPL plugins for TC are not allowed. GPL forbids linking the GPLed code with closed one. You can use LGPL instead. Or take other similar license that allows runtime linking between open and closed code.
GPL plugins for TC are not allowed. GPL forbids linking the GPLed code with closed one. You can use LGPL instead. Or take other similar license that allows runtime linking between open and closed code.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2Alextp
1. Which DLLs? I've tried to track (using FileAlyzer) them all but perhaps I overlooked something.
2. I will add INF after few more tests. I will upload it to totalcmd.net then.
1. Which DLLs? I've tried to track (using FileAlyzer) them all but perhaps I overlooked something.
2. I will add INF after few more tests. I will upload it to totalcmd.net then.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact: