[messages] [Module Design] Zoom levels - balancing board size with card size

Foobarius alter.alter.ego at hotmail.com
Wed Jun 24 13:07:38 CEST 2015

If I understand what you're saying, you want to have pieces of a certain
size, but you find that the mouseover zoom view doesn't produce a sharp
image because it's scaling up an image which is the same size as the
piece.  So what you need is for the piece to have an image that's larger
than the piece itself (and which is scaled *down* to the piece size when
not in mouseover).

You can do this if you embed the image in an svg file - the svg size is
independent of any images it contains.  However, this will not reduce
the file size.  If the image in the svg file is higher resolution than
the piece (and if it isn't, there's no point), it's going to require
more file space than a piece-sized image.

Read this topic online here:

More information about the messages mailing list