473,386 Members | 1,654 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

gif creator

has anyone written a gif creator program purely in python that doesn't
require PIL or tons of other claptrap?

the GIF89a format is pretty straightforward and C is not required to
create these files.

i didn't want to have to upgrade to a newer release of python, install
a huge bunch of stuff or compile
anything. and i don't care about other formats or animation or
whatever. black and white is ok.

i just want to be able to create a gif that's 100x40 (or whatever) and
pass in an array saying
which pixels are black or white.

sounds pretty simple doesn' t it?
Oct 6 '08 #1
3 1718
cc******@gmail.com wrote:
has anyone written a gif creator program purely in python that doesn't
require PIL or tons of other claptrap?

the GIF89a format is pretty straightforward and C is not required to
create these files.

i didn't want to have to upgrade to a newer release of python, install
a huge bunch of stuff or compile
anything. and i don't care about other formats or animation or
whatever. black and white is ok.

i just want to be able to create a gif that's 100x40 (or whatever) and
pass in an array saying
which pixels are black or white.

sounds pretty simple doesn' t it?
It doesn't sound anywhere near as simple as downloading and installing
PIL then using that. Claptrap is in the eye of the beholder. There are
many pitfalls awaiting the programmer who decides to write something to
do such a "simple" task ...

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/

Oct 6 '08 #2
i didn't want to have to upgrade to a newer release of python, install
a huge bunch of stuff or compile
anything. *and i don't care about other formats or animation or
whatever. *black and white is ok.
One option is to install ImageMagick and use subprocess.Popen to
communicate with it. This will work even when you upgrade Python.

HTH,
--
Miki <mi*********@gmail.com>
http://pythonwise.blogspot.com
Oct 6 '08 #3
In message
<3c**********************************@h2g2000hsg.g ooglegroups.com>,
cc******@gmail.com wrote:
has anyone written a gif creator program purely in python that doesn't
require PIL or tons of other claptrap?
It's so much easier to just go into Synaptic (or whatever your package
manager is) and check a few boxes to install all the necessary "claptrap",
than it is to try to reinvent large chunks of it yourself.
Oct 6 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: ConTactMe | last post by:
Does anyone know of a WYSIWYG page/ad creator with ftp upload abilities? I need a tool that will let my computer-illiterate friends create an ad, with pictures selected from their machine, and have...
0
by: Constantine Kakoushis | last post by:
Hi, I was previously running from my home test server (Suse 9.0) but have recently uploaded to my ISP. Since then (I think) images that have been resized on the server (resulting in .pjpeg...
1
by: Stefan Ram | last post by:
Some style guides suggest to repeat a DC.creator meta-element for multiple authors, but doesn't this contradict its specification? "An entity primarily responsible for making the content of the...
1
by: Gorilla | last post by:
I bound my package with EXPLAIN(YES), and it's got the following static SQL in it: EXEC SQL SELECT CARDF, RECLENGTH INTO :CARDF,:RECLENGTH FROM SYSIBM.SYSTABLES WHERE NAME = :TBNAME AND...
1
by: shenanwei | last post by:
I tried revoke all priviledge from user and REVOKE DROPIN ON SCHEMA Still the creator can drop the table.
0
by: Roshan | last post by:
Hi, I am trying to programatically add a FileSystemAccessRule for CREATOR OWNER to the filesystemsecurity obj of a folder whose creator and owner is a user account say 'SomeUser'. The rule gets...
0
by: anokun7 | last post by:
We are using DB2 v7 on OS/390. I have installed db2connect enterprise on my local windows XP box. Using db2connect I have created a dsn and could successfully connect using the DB2 control...
13
by: alive84 | last post by:
Hi there, I have a two problems concerning option button values on a report and data report creator reports. The situation: I have three option value boxes two have 3 option and one has...
3
by: alan | last post by:
Hello all, I'd like to know if there is a nice method of defining a functor creator which accepts an N-ary function and returns a functor based on that function. For example I have a function:...
0
by: phpFoxHelp | last post by:
Hey everyone! I am currently using phpFox to start an online community. I have it set so that there is no captcha nor email validation for new registrations. I am looking for a program that will...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.