vickyem / svg-explorer-extension

Automatically exported from code.google.com/p/svg-explorer-extension
0 stars 0 forks source link

Preview svgz (compressed svg) files #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Have .svgz files

What is the expected output? What do you see instead?
Expect preview icon for compressed svg (svgz) files
Seeing default icon for handler app (Adobe Illustrator in this case)

What version of the product are you using? On what operating system?
Version 0.11
Windows 8 64-bit

Please provide any additional information below.
This would certainly be an "enhancement request" not a defect

Original issue reported on code.google.com by jacobmr...@gmail.com on 1 Apr 2013 at 10:06

Attachments:

GoogleCodeExporter commented 8 years ago
I cloned the registry settings from HKEY_CLASSES_ROOT\.svg\shellex to 
HKEY_CLASSES_ROOT\.svgz\shellex and it looks like it's rendering just fine now.

So it might be a very small/simple update to the installer.

Original comment by jacobmr...@gmail.com on 1 Apr 2013 at 10:21

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Per SVG 1.1, conforming viewers will display .svgz images as well as .svg. So 
this really shouldn't be considered simply an enhancement request.

Regardless, as "jacobmr...@gmail.com" said, the fix is to copy the "shellex" 
key under HKCR\.svg to HKCR\.svfz. The attached registry file will do just 
that, as well as setting the Content Type for .svgz files to "image/svg+xml", 
the same as .svg files.

(Note: I had to convert this file to ASCII for it to display correctly.  Be 
aware that newer versions of Windows require .reg files to be Unicode!)

Original comment by gnka...@gmail.com on 31 May 2013 at 3:32

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the registry file!

I will add these to the DLL registration process.

Original comment by kandrait...@gmail.com on 21 Feb 2014 at 8:46