Skip to content

Releases: fdwr/LunaSvgSampleTest

20220626

26 Jun 11:52
Compare
Choose a tag to compare
  • Right drag now selects rectangle to open menu and copy only the selected region to clipboard bitmap.
  • Left click shows details of the clicked icon in title bar, including filename, subpixel position, icon size, original coordinate, original size, and RGB value.
  • When outlines are visible, a small yellow triangle is drawn on paths indicating path start, direction, and cw/ccw'ness.
  • Zoomed rendering uses GDI+ DrawImage which is noticeably faster than GDI StretchBlt and less buggy at large scales.
  • Change zoom keys to ctrl +/- to be consistent with Photoshop/Word, and +/- now changes icon size.
  • Add more menu icon sizes 8, 12, 36, 120, 180; grid sizes 192, 256; and zoom up to 256px.
  • Add menu options for panning to far edges.
  • Increase padding around help text.
  • Append default filename extension of PNG when exporting bitmap.
  • Handle nonsquare icons better if they have room to fit the canvas item boundary.
  • Add sample icons from icons8.com fluency set.
  • Split menus for View and Size for smaller monitors (which grew too tall).
  • Experimental: Ctrl+Shift arrow keys nudge the icons 1/8 pixel to see fine adjustment. F5 reloads and resets.
  • Experimental: In the Size menu with Waterfall layout, shift+click a size option to set the maximum size.

20220424

23 Apr 10:32
Compare
Choose a tag to compare
  • Add Ctrl +/- to increase/decrease object size by 1 pixel.
  • Add View/Raster option to show/hide fills and strokes (useful to see only outlines).
  • Add a few common presets of settings (zoom close for inspection, wrapped icon list, wrapped natural size, 1:1 overview).
  • Left click shows the coordinate and file clicked (both in scaled pixels and original image units).
  • Improve inner grid visibility on dark backgrounds.
  • Increase grid size up to 128x. Increase zoom up to 256x.
  • Fix bug in lunasvg with blank documents, affecting Tango icons draw-geometry-blank.svg and empty-icon.svg
  • Fix outline drawing bug with a move between figures of single path.
  • Some menu rearranging and renames.
  • Show error code on image load error message. Show error if trying to export empty image. Display error messages a little longer.
  • Show more help on initial screen.
  • Hide pixel grid completely at 1:1 zoom.
  • Enable images into be bilinearly sized in waterfall too just like SVGs.
  • Increase pan speed when outlines are visible by restricting to update region.
  • Export image defaults to PNG if you don't give a filename extension (rather than error).

20220415

15 Apr 08:44
Compare
Choose a tag to compare
  • View outlines added ('o' key) to see lines and contour handles. (extended LunaSvg fork to enumerate contours and draw them with GDI+)
  • File export image added (to PNG, BMP, TIFF).
  • View alpha channel ('a' key).
  • Load image files too via WIC, just for convenience or rendering comparison.
  • Increase grid drawing speed (drawing grid to DIB directly much faster than FillRect and SetPixel).
  • Limit bitmap size to 32768 x 32768 to avoid bad allocation (out of memory when loading lots of files).
  • Fix LunaSvg missing Length::value em and ex case statement (fix some blank SVG files).

20220402

02 Apr 12:58
Compare
Choose a tag to compare
  • Pixel grid option added (shift+G). Grids now drawn relative to/around each SVG document rather than entire bitmap.
  • Display tooltip on file load error (it used to just display the help text).
  • Fix bug in LunaSvg when loading "use href" statements (it was only looking for "xlink:href").
  • Add ctrl+{home/end/pgup/pgdn} to pan to ends.
  • Left mouse button drags now instead of middle (left wasn't being used for anything anyway, and laptops lack middle button)
  • Add waterfall option arranging by object first then size.
  • Reduced occasional flicker of panning by using offscreen bitmap. Increased speed by limiting drawing and drawing grid directly to DIB section (GDI can be so slooow). Increase window resize speed by only performing layout if wrapped.

20220328

28 Mar 01:25
Compare
Choose a tag to compare

First release:

  • Displays multiple SVG files in the window
  • Supports sizes: fixed (all typical icon sizes), window size, natural document size, and waterfall with multiple sizes
  • Zoom in/out with Ctrl+mouse wheel, pan with scrollbars/keyboard/middle drag
  • Grid display 'g'
  • Backgrounds of transparent black (to keep the transparency), checkerboard, opaque white (for those solid color black/gray icons), opaque gray