{"id":167,"date":"1997-09-09T01:36:29","date_gmt":"1997-09-09T09:36:29","guid":{"rendered":"http:\/\/www.birdhouse.org\/betips\/?p=167"},"modified":"1997-09-09T01:36:29","modified_gmt":"1997-09-09T09:36:29","slug":"creating-gif-images","status":"publish","type":"post","link":"https:\/\/www.betips.net\/?p=167","title":{"rendered":"Creating GIF images"},"content":{"rendered":"<p>As of R4.0, BeOS does not include a a GIF Translator (NetPositive has its own GIF-rendering engine), meaning you can&#8217;t create GIF images with BeOS &#8222;out of the box.&#8220; Until Be resolves its issues with the Unisys patent that governs the GIF compression algorithm, there are several ways to create GIFS on BeOS:<\/p>\n<ul>\n<li>Daniel Switkin&#8217;s <a href=\"http:\/\/www.bebits.com\/app\/59\">GIF Translator<\/a> will give GIF-creation capabilities to all of your graphics applications. Switkin&#8217;s <a href=\"http:\/\/www.bebits.com\/app\/60\">Anime<\/a> GIF animator also has native GIF-creation support.\n<li>BeatWare&#8217;s <a href=\"http:\/\/www.beatware.com\/\">e-Picture<\/a> will let you create GIFs will all kinds of optimizations, transparency, animation, etc.\n<li>Sander Stoks&#8216; <a href=\"http:\/\/www.bebits.com\/app\/74\">Becasso<\/a> will let you create GIFs, but without any compression (Becasso uses the GIF-creation code from netpbm, below).\n<li>Chris Herborth&#8217;s port of the <a HREF=\"http:\/\/www.bebits.com\/app\/1290\">netpbm<\/a> toolkit will let you translate between just about any two image file formats in the world. <\/ul>\n<p>netpbm, unfortunately, makes you do everything in two or more steps, turning your image into a ppm file, and then that ppm file into the desired format.<br \/>\nAfter getting netpbm installed and working, create some scripts for yourself that will reduce this work to a single command. For example, the script below will convert a file from tga to gif with one command. If you have a file called ScreenShot.tga in the current directory, just type: <code>makegif ScreenShot<\/code>.<br \/>\nSave the following text as a file called makegif in your \/boot\/home\/config\/bin directory, then hack variants of it to accomplish any translations you like.<\/p>\n<pre>\nfile=\"$*\"\ntgatoppm $file.tga > $file.ppm\nppmtogif $file.ppm > $file.gif\necho\necho Created $file.gif\nrm $file.ppm\necho Remove $file.tga?\n\tread yn\n\tif [ \"$yn\" = \"y\" ]; then\n\t\trm $file.tga\n\tfi\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>As of R4.0, BeOS does not include a a GIF Translator (NetPositive has its own GIF-rendering engine), meaning you can&#8217;t create GIF images with BeOS &#8222;out of the box.&#8220; Until Be resolves its issues with the Unisys patent that governs the GIF compression algorithm, there are several ways to create GIFS on BeOS: Daniel Switkin&#8217;s [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[8],"class_list":["post-167","post","type-post","status-publish","format-standard","hentry","tag-misc"],"_links":{"self":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=167"}],"version-history":[{"count":0,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/167\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}