Can anyone recommend software for exporting the positions in an epd file to image files (jpg, bmp, png...) ?
Thanks
James
Software for exporting an epd file to images?
Moderators: hgm, Rebel, chrisw
-
- Posts: 358
- Joined: Wed Mar 08, 2006 8:36 pm
- Location: UK
-
- Posts: 5228
- Joined: Thu Mar 09, 2006 9:40 am
- Full name: Vincent Lejeune
Re: Software for exporting an epd file to images?
The Arena interface ( http://www.playwitharena.com/ ) exports as BMP : menu position -> export.James Constance wrote:Can anyone recommend software for exporting the positions in an epd file to image files (jpg, bmp, png...) ?
Thanks
James
This old utility does the job too : http://www.rebel.nl/epd2diag.htm
-
- Posts: 3019
- Joined: Wed Mar 08, 2006 9:57 pm
- Location: Rio de Janeiro, Brazil
Re: Software for exporting an epd file to images?
I do not doubt there are many, but you could do this also with ChessBase Reader, the free version. Paste a FEN (it does not read EPD files), and then at the top, click on File, then Save and Save Position. The diagram appearance and size it saves will correspond to the one on screen. The format is PNG.James Constance wrote:Can anyone recommend software for exporting the positions in an epd file to image files (jpg, bmp, png...) ?
Thanks
James
http://en.chessbase.com/pages/support
"Tactics are the bricks and sticks that make up a game, but positional play is the architectural blueprint."
-
- Posts: 358
- Joined: Wed Mar 08, 2006 8:36 pm
- Location: UK
Re: Software for exporting an epd file to images?
Many thanks Vincent and Albert. I was hoping for something that did the whole epd file at once to multiple images, but I expect this is unlikely.
-
- Posts: 710
- Joined: Sat Dec 06, 2014 1:53 pm
Re: Software for exporting an epd file to images?
batch conversion can be easily made in simple script, using any command line converter, e.g. https://pypi.python.org/pypi/fenJames Constance wrote:Many thanks Vincent and Albert. I was hoping for something that did the whole epd file at once to multiple images, but I expect this is unlikely.
If you plan using it for http sites, there is no need to generate static image files, just generate FEN-links <img src=http://fen2png.example.com?fen=8/8/1p4Q ... p/4n2k/2q5 w - - 6 92>
http://www.fen-to-image.com/image/36/do ... P/RNBQKBNR
-
- Posts: 358
- Joined: Wed Mar 08, 2006 8:36 pm
- Location: UK
Re: Software for exporting an epd file to images?
Thanks, Yuri.
-
- Posts: 4610
- Joined: Wed Oct 01, 2008 6:33 am
- Location: Regensburg, Germany
- Full name: Guenther Simon
Re: Software for exporting an epd file to images?
http://rebel13.nl/windows/epd2diag.htmlJames Constance wrote:Can anyone recommend software for exporting the positions in an epd file to image files (jpg, bmp, png...) ?
Thanks
James
-
- Posts: 4833
- Joined: Sun Aug 10, 2008 3:15 pm
- Location: Philippines
Re: Software for exporting an epd file to images?
Have a look on this thread.James Constance wrote:Can anyone recommend software for exporting the positions in an epd file to image files (jpg, bmp, png...) ?
Thanks
James
http://talkchess.com/forum/viewtopic.ph ... 08&t=59255
Jesse mentioned
https://sourceforge.net/projects/fen2eps/
This works for me.
eps viewer can be downloaded from here.
http://epsviewer.org/download.aspx
-
- Posts: 593
- Joined: Sat Aug 20, 2011 9:43 am
Re: Software for exporting an epd file to images?
Here is a quick script which uses fen2eps and pgn-extract.James Constance wrote:whole epd file at once to multiple images
Get fen2eps https://sourceforge.net/projects/fen2ep ... n2eps/1.1/
and compile it with
Code: Select all
g++ fen2eps.cpp -o fen2eps
Code: Select all
apt-get install pgn-extract
Code: Select all
# add fen position as a comment after each line and save as output.pgn
pgn-extract --fencomments -o output.pgn Aronian.pgn
# extract the FENs to a file named 'fenlist'. this is an uqly hack which uses
# \n to add new lines...which'll only work in some shells.
cat output.pgn | sed 's/{/\nxxxxx/g'|sed 's/}.*/yyyyy/g' | grep xxxxx | sed -e 's/xxxxx //g' -e 's/ yyyyy//g' | grep -v xxxxx > fenlist
# run a while loop, once for each line in fenlist, send the FEN to fen2eps and output
# [incrementing number].eps and convert this to [incrementing number.png
index=1;cat fenlist | while read list; do (( index++)); echo "$list" | ./fen2eps > "$index".eps && convert "$index".eps "$index".png;done
-
- Posts: 358
- Joined: Wed Mar 08, 2006 8:36 pm
- Location: UK
Re: Software for exporting an epd file to images?
Thanks, Ferdinand and Jesse - I'll give it a try.