Results 1 to 9 of 9

Thread: Sep/Oct Lite Entry - Relleker: Recreational Wilderness

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Post

    Quote Originally Posted by Jeff_Wilson63 View Post
    I created the scale in raw SVG. ( http://www.monticello21st.com/uploads/Scale.svg ). The top half marks out 10km increments. The bottom half marks out 5 mile increments. There were some problems importing it into GIMP. Hopefully I can find a "no antialias" svg command to fix the last one remaining.
    First off, I would suggest exporting from Inkscape as a PNG and import that into Gimp as a layer, since Inkscape has better SVG rendering than Gimp.

    Second - you probably have a subpixel alignment problem. From the FAQ
    How to suppress antialiasing?
    With the current renderer, it is not possible to completely get rid of antialiasing. However, it is possible to partially suppress it on export. Usually, antialiasing is unwelcome in horizontal and vertical lines which become "blurred". To work around this, make sure your horizontal/vertical edges are snapped on the pixel grid, and all strokes are a whole number of pixels wide. Then, export bitmap at the default 90dpi so that 1 px unit corresponds to 1 bitmap pixel. In the resulting bitmap, snapped color boundaries will be perfectly crisp.
    Here is a nice description at Inkscape Forum.

    Now both of these say to set the grid and snap to it....but you already have an image, so check out the pixelsnap extension:
    When you create vector graphics in Inkscape, horizontal & vertical lines and rectangles will usually appear slightly blurry, due to edges not being aligned perfectly with screen pixels.
    <snip>big discription of how to manually work around with grids as above</snip>
    With this plugin, the whole thing is a simple case of running Extensions->PixelSnap on the selected objects.
    Hope this is useful.

    -Rob A>

  2. #2
    Guild Member Jeff_Wilson63's Avatar
    Join Date
    Sep 2009
    Location
    Fort Collins, Colorado, USA
    Posts
    78

    Post

    Well, for the scale, the command that's supposed to do what I want is
    Code:
    style="shape-rendering:crispEdges"
    Unfortunately, neither GIMP nor Inkscape understand it. I was finally able to get something that looked close to what I wanted by shifting the viewBox half a pixel.
    Code:
    viewBox="0.5 0.5 550 80"
    This still created some unintended effects as GIMP interprets half pixels differently in different locations. I may go back later and rewrite everything to display properly in GIMP, but right now I'm inclined to look at the problem as being with GIMP.

    Also note that GIMP ignores svg width and height parameters. To properly open this image in GIMP you need to manually set ppi to 72.

    http://www.monticello21st.com/uploads/Scale.svg
    http://www.monticello21st.com/rpg/nfwiki/
    Call the Lightning. Ride the Storm. Find your Power. Become Reborn.
    Seek your Place, and know it well. Live a tale you wish to tell.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •