Libre Graphics World | Libcdr ressuscita Waldo (formato Corel v1) e lê todos os formatos até v16...
2012-05-06 15:16:20 GMT
[1]http://libregraphicsworld.org/blog/entry/libcdr-resurrects-waldo-gets-basic-spot-colors-support
Desde já agradeço qualquer tradução mais apropriada e correta.
Libcdr resgata Waldo, e ganha suporte local à cores básicas
Libcdr resurrects Waldo, gets basic spot colors support
The Corel DRAW files reverse-engineering story gets “curiouser and curiouser”. The libcdr project managed to do something even Corel was not capable of.
Simply put, this free library for reading and converting CDR files to SVG is now able to read all CDR files — from v1 to the latest v16. Yes, folks, libcdr holds Waldo firmly in the hands of higher justice. Let me explain this.
Who is this Waldo guy anyway?
Early versions of Corel DRAW, codenamed Waldo, used a file format which had nothing to do with the current way of storing information in CDR files. That was around 1987, back when operating systems were 16bit.
In 1992 Corel released Corel DRAW v3 where it had switched to their first RIFF-based file format. The v5, released few years later, was the last version that was able to read v1 and v2 files, and it already could only save v3 and v4 files. And thus Waldo was buried, until just now.
Are you ready for a time travel? Fridrich Strba, lead developer of libcdr, graciously provided a screenshot of Corel DRAW v2 running from DOSBox with this illustration:
After conversion to SVG:
More changes
The library now also preserves groups of objects when converting to SVG and has basics of handling spot colors, albeit getting this to work reliably is going to be a tough task (but personally I have high hopes for SVG2).
Building libcdr
It is still recommended to use libcdr from Git repository and stay updated.
Fetch it:
$ git clone git://anongit.freedesktop.org/libreoffice/libcdr
Build it:
$ ./autogen.sh && ./configure && make && sudo make install
Use it:
$ cdr2xhtml file.cdr > file.xhtml
Then open the XHTML file in a text editor, trim the XHTML bits and save the result as .svg to open in Inkscape.
What's next
Getting full сoverage of file formats is what delayed work on support for text objects. Now that it's mostly done, developers are likely to get back to text and maybe even improve support for gradient fills.
The library will be used in upcoming LibreOffice 3.6.
Paz, Vida Longa e Prospere!
Ronaldo Cardozo Lages
Skype: rclages Twitter: <at> rclages
E-mails: ronaldo <at> lages.net (MSN,GTalk)
rclages <at> softwarelivre.org
rclages <at> solisc.org.br
Facebook: https://www.facebook.com/rclages
Técnico em Telecomunicações (CREA-SC)
Porto Alegre, Rio Grande do Sul - Brasil
--------------------------------------------------
1999 Idealizador do FISL [http://www.fisl.org.br/]
2003 Fundador da ASL.Org [http://www.asl.org.br/]
2009 Organizador do SoLiSC [http://www.solisc.org.br/]
2010 Técnico em Telecomunicações [http://www.ifsc.edu.br]
2011 Coordenador de TI do Palácio Piratini [http://www.rs.gov.br]
<div>Desculpem a tradução falha mas a notícia publicada no Libre Graphics World[1] merece atenção pois o Projeto "libcdr" consegui algo que a própria Corel não fez em 16 versões do CorelDRAW, mesmo detendo a sua "inteligência" ;)<br> <br>[1]<a href="http://libregraphicsworld.org/blog/entry/libcdr-resurrects-waldo-gets-basic-spot-colors-support">http://libregraphicsworld.org/blog/entry/libcdr-resurrects-waldo-gets-basic-spot-colors-support</a><br><br> Desde já agradeço qualquer tradução mais apropriada e correta.<br><br><span>Libcdr resgata Waldo, e ganha suporte local à cores básicas </span><br><h6 class="uiStreamMessage"><span class="messageBody">"A história da engenharia reversa dos arquivos do Corel DRAW fica ainda "mais curiosa". O projeto libcdr conseguiu fazer algo ainda que a Corel não era capaz.<br><br> Simplesmente, esta biblioteca livre para leitura e conversão de arquivos CDR para SVG é agora capaz de ler todos os arquivos do CDR - da v1 para a última v16. (...). Deixe-me explicar isso."<br><br> A biblioteca será usada nas próximas versões LibreOffice 3.6. </span></h6> <br>Libcdr resurrects Waldo, gets basic spot colors support<br><br><p> The Corel DRAW files reverse-engineering story gets “curiouser and curiouser”. The libcdr project managed to do something even Corel was not capable of.</p> <p> Simply put, this free library for reading and converting CDR files to SVG is now able to read all CDR files — from v1 to the latest v16. Yes, folks, libcdr holds Waldo firmly in the hands of higher justice. Let me explain this.</p> <h2>Who is this Waldo guy anyway?</h2> <p> Early versions of Corel DRAW, codenamed Waldo, used a file format which had nothing to do with the current way of storing information in CDR files. That was around 1987, back when operating systems were 16bit.</p> <p> In 1992 Corel released Corel DRAW v3 where it had switched to their first RIFF-based file format. The v5, released few years later, was the last version that was able to read v1 and v2 files, and it already could only save v3 and v4 files. And thus Waldo was buried, until just now.</p> <p> Are you ready for a time travel? <a href="http://fridrich.blogspot.com/" target="_blank">Fridrich Strba</a>, lead developer of libcdr, graciously provided a screenshot of Corel DRAW v2 running from DOSBox with this illustration:</p> <p align="center"> </p> <p> After conversion to SVG:</p> <p align="center"> </p> <h2>More changes</h2> <p> The library now also preserves groups of objects when converting to SVG and has basics of handling spot colors, albeit getting this to work reliably is going to be a tough task (but personally I have high hopes for SVG2).</p> <p align="center"> </p> <h2>Building libcdr</h2> <p> It is still recommended to use libcdr from Git repository and stay updated.</p> <p> Fetch it:</p> <p> $ git clone git://<a href="http://anongit.freedesktop.org/libreoffice/libcdr">anongit.freedesktop.org/libreoffice/libcdr</a></p> <p> Build it:</p> <p> $ ./autogen.sh && ./configure && make && sudo make install</p> <p> Use it:</p> <p> $ cdr2xhtml file.cdr > file.xhtml</p> <p> Then open the XHTML file in a text editor, trim the XHTML bits and save the result as .svg to open in Inkscape.</p> <h2>What's next</h2> <p> Getting full сoverage of file formats is what delayed work on support for text objects. Now that it's mostly done, developers are likely to get back to text and maybe even improve support for gradient fills.</p> <p> The library will be used in upcoming LibreOffice 3.6.</p> <br><br><span>Paz, Vida Longa e Prospere!<br><br>Ronaldo Cardozo Lages</span><br><span></span><span>Skype: rclages Twitter: <at> rclages </span><br><span>E-mails: <a href="mailto:ronaldo <at> lages.net" target="_blank">ronaldo <at> lages.net</a> (MSN,GTalk)</span><br><span> <a href="mailto:rclages <at> softwarelivre.org" target="_blank">rclages <at> softwarelivre.org</a></span><br><span> <a href="mailto:rclages <at> solisc.org.br" target="_blank">rclages <at> solisc.org.br</a><br> Facebook: <a href="https://www.facebook.com/rclages" target="_blank">https://www.facebook.com/rclages</a><br> Técnico em Telecomunicações (CREA-SC)<br></span><span>Porto Alegre, Rio Grande do Sul - Brasil</span><br><span>--------------------------------------------------</span><br><span>1999 Idealizador do FISL [<a href="http://www.fisl.org.br/" target="_blank">http://www.fisl.org.br/</a>]</span><br><span>2003 Fundador da ASL.Org [<a href="http://www.asl.org.br/" target="_blank">http://www.asl.org.br/</a>]</span><br><span>2009 Organizador do SoLiSC [<a href="http://www.solisc.org.br/" target="_blank">http://www.solisc.org.br/</a>]<br> 2010 Técnico em Telecomunicações [<a href="http://www.ifsc.edu.br/" target="_blank">http://www.ifsc.edu.br</a>]</span><br><span>2011 Coordenador de TI do Palácio Piratini [<a href="http://www.rs.gov.br/" target="_blank">http://www.rs.gov.br</a>]<br></span><span><br></span><span></span><br> </div>
RSS Feed