|Re: [casetta] About the future of Casetta_gtk|
[ Thread Index |
| More lists.tuxfamily.org/casetta Archives
- To: casetta@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [casetta] About the future of Casetta_gtk
- From: "Florian Birée" <florian.biree@xxxxxxxxx>
- Date: Thu, 22 Mar 2007 19:44:51 +0100
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=qu/0xwZmeDY3NR7img3mzCMiq4nk+KAoDiv1Isn9LPj78/e/AyVaTvQVautFs0hPYGDJ9JbnnfKcV8Y4mFmigybaIc6aIOjZrMhiIKNsHKhAQzzlw0jBCbIrOvPj/2HZ2Bgfi3AC//q3tbuTnHiW31oXahOqzct4lfBz7fjn9xg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=fBxZxNqqNrPeFTkePYlrpocobezNJ4DXFMNYezVBoQSXAvb3dNWs9xcrM9uHwGn7yfio1Obt02NMDN7XcPTHBVnPnfZ3xm86RWQOmLGUuJfwBatnoJiTQvg96sRyq8A9GZNpGoe8KZ38f7reWhd3dCcRKg2j++MKWNBtSPGDfNw=
2007/3/21, Choplair <chopinou@xxxxxxxxxxxx>:
I'm Choplair, this is the first post from me there. But it should
quickly increase. :p
2007/3/18, Florian Birée <florian.biree@xxxxxxxxx>:
> The python package casetta is on the road to the 0.3 version, and the work
> on Casetta_gtk, the GUI, will begin.
> I proud to announce that Choplair, a python and PyGTK developer, will join
> the team to work on the GUI.
Yeah! I'll try to do my best of the Casetta GUI. \o/
> In the 0.3 version, Casetta_gtk will have to manage pictures and screen
> captures, so a picture editor must be added inside Casetta_gtk. Some others
> functions will be added, as the function Fabien Andre to convert pictures to
> programs, or maybe his current work on a backup-extractor.
Concerning image picture / screen picture management within the GUI,
you gave several clues but I'll be pleased if you could confirm me
some points, for me to be sure, by answering those 2 questions :
- I think I understood that the goal is to implement a Casio image
viewer / creator / editor withing the GUI. So that is to say that, in
edition mode, user would be able to draw pixels or lines, in two or
four different tone (this depends of the calculator model, doesn't
and save it as an image which could be transfered to the Casio,
directly from within the GUI, have I correctly understood ?
In fact, you have just to make a list of pixels, the function to convert it into a casio format is already in the svn version ;-)
- Another feature would be the ability to save the canvas (what user
drawn) as a program instead of a raw image. I mean a Casio program
that would be just intended for rendering the image by drawing each
pixel (or horizontal segment) on the screen. I will produce the same
result but here the program source code could be merged into another
program that would thus be able to display the image on the screen in
its turn, when desired (there are many potential usages, such as
displaying a nice logo at the beginning of a program, etc).
This feature, useful for Casio programmer, would be implementable
thanks to Fabien Andre's code.
Am I right still about the feature description? Have I understood everything?
Yes, I think so. The Fabien Andre's function have been upload in the svn recently, the only work is to make an easy access to it inside the GUI.
Now a little (hum, perhaps big actually :p) feature suggestion for the
future Casetta image editor : what about implementing a common image
format (BMP, JPG, PNG...) to Casio image format converter ? So that
user would be able to export existing image from their computer to
their calculator, instead of drawing it manually. Images scale and
size would have to be adapted to fit the Casio image format (a very
low resolution square surface, I think), then RGB color map would have
to be converted to indexed one (orange, green, blue, & white as you
mentioned ; or just black/white), and... we're done! :)
IMO such operations could be performed easily using the Python Image Library.
What is your opinion? Wouldn't it be a nice feature? We may even
imagine that the Casio image to program converter would be applicable
on these !
So we'll obtain the following scheme : any image from hard drive =>
Casio image format => Casio program that render it on screen (for
being reused in other program). Quite exciting, no?
Yes, it's exciting. Short answer : it's already done, in the svn (using the PIL, of course ;-) ).
Long answer : I manage standard picture formats such as proprietary casio formats. For the moment (only inside the svn version), supported formats are all PIL-managed formats, and the cafix format (a casio format). I'm working on others casio formats.
You can see the current state of managed formats by data type on this page : http://casetta.tuxfamily.org/functionalities
For the 0.3 release, I want to manage pictures (and screen capture, its more or less the same work) in all formats in the table.
Thesa ~ Florian Birée
e-mail : florian.biree@xxxxxxxxx
Messagerie Instantanée Jabber/XMPP/Google Talk :
Site web et blog : http://filyb.info/