lukasmonk / lucaschess

Chess GUI
http://lucaschess.pythonanywhere.com/
GNU General Public License v2.0
338 stars 76 forks source link

Custom pieces #69

Open rtarvids opened 6 years ago

rtarvids commented 6 years ago

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?

lukasmonk commented 6 years ago

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.

rtarvids commented 6 years ago

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.

lukasmonk commented 6 years ago

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

rtarvids commented 6 years ago

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

lukasmonk commented 6 years ago

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.

rtarvids commented 6 years ago

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

lukasmonk commented 6 years ago

Great.