lucaschess icon indicating copy to clipboard operation
lucaschess copied to clipboard

Custom pieces

Open rtarvids opened this issue 7 years ago • 7 comments

Hello, I have made svg icons of custom chess pieces and added them to a folder in the Pieces directory in my distribution of Lucaschess. When I select this folder in the options to change my piece set, the pieces show up as blanks. How could I address this?

rtarvids avatar Jun 15 '18 14:06 rtarvids

The program uses the qt 4 library (qt 5 I think it's the same case) that supports SVG Tiny 1.2, a limited version of svg, so this could be the reason for the bad view.

lukasmonk avatar Jun 15 '18 16:06 lukasmonk

Hello again, I have converted all the SVG files to SVG Tiny 1.2 and this has not resolved the issue. Could this potentially be due to file sizes, or not? Thank you in advance.

rtarvids avatar Jun 16 '18 16:06 rtarvids

You could send me one svg file to test (to lukasmonk in gmail if you want).

lukasmonk avatar Jun 17 '18 07:06 lukasmonk

Hello, I have sent you an SVG file to test.

rtarvids avatar Jun 19 '18 14:06 rtarvids

Hi, this is the answer I sent you by email 2 days ago:

The problem is that pgn images you import to create each piece must have a transparent color that rounded the image.

lukasmonk avatar Jun 19 '18 20:06 lukasmonk

Hello, I have done as you suggested, this has fixed the problem, thank you very much for your help!

rtarvids avatar Jun 20 '18 16:06 rtarvids

Great.

lukasmonk avatar Jun 20 '18 18:06 lukasmonk