View Single Post
  #3  
Old October 12th, 2024, 09:51 AM
MarkSheppard's Avatar

MarkSheppard MarkSheppard is online now
Lieutenant Colonel
 
Join Date: Jun 2005
Posts: 1,407
Thanks: 103
Thanked 641 Times in 427 Posts
MarkSheppard is on a distinguished road
Potion Re: Next Generation SHP Viewer

Version 0.00L

Major Changes:

I've started to separate major things into individual javascript .js files to keep things organized -- this was needed for the 146kb of palette information I added.

Also; there's a third-party javascript library - jszip (NextGenSHP_Viewer_jszip.min.js) included to handle ZIP functionality within the program.

What's new:

There's an option to organize in rows of 2 (to make turreted SHP files look more organized)



I hard coded as many palettes as I could in -- including all of the original PALs that shipped with Fred's SHP Edit many moons ago. Default is the current (2021+) SPCAMO full icon palette.

To Swap palettes or organize in rows of 2, select your new palettes or click on the organize in rows of 2 checkbox and then push the RELOAD button.

To save an individual icon; just right click on any of the icons and choose SAVE IMAGE; a PNG version helpfully named:

{filename}+{4 digit leading icon position}.png will be downloaded to your DOWNLOAD directory.

So if you were saving the second icon from a file named icon0090.shp, it would be named: icon0090-0002.png

The Export SHP to ZIP button dumps all the SHPs using that above terminology into a new zip file in your download directory; named after the original SHP file. Thus, if your file was icon0090.shp, the file will be icon0090.zip.

Also, there will be a metadata CSV file inside the zip file -- containing the following information
Attached Thumbnails
Click image for larger version

Name:	IconDump.png
Views:	3426
Size:	40.7 KB
ID:	17055  
Attached Files
File Type: zip NextGen_SHP_View_v000L.zip (58.4 KB, 3435 views)

Last edited by MarkSheppard; October 12th, 2024 at 09:59 AM..
Reply With Quote
The Following 7 Users Say Thank You to MarkSheppard For This Useful Post: