mtPaint development

What features/apps/bugfixes needed in a future Puppy
Message
Author
wjaguar
Posts: 359
Joined: Wed 21 Jun 2006, 14:16

#16 Post by wjaguar »

muggins wrote:If it's exiv2 that's required, it's available here.
It can serve as substitute; user would have to modify the program name in the "View EXIF data" action for that ("File->Actions->Configure").
The main difference between the two libraries is, libexiv2 is ten times bigger than libexif.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#17 Post by muggins »

I forgot that Barry has included libexiv2 in pup4. But it also has libexif.so.12.

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#18 Post by ttuuxxx »

Heres 19 menu 22x22 icons I found at tango they need to be change to xpm and resized to 20x20. If you like. I already renamed them, so its a matter of changing from png to xpm and resizing.
ttuuxxx
Attachments
mtpaint.tar.gz
(16.97 KiB) Downloaded 620 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

wjaguar
Posts: 359
Joined: Wed 21 Jun 2006, 14:16

#19 Post by wjaguar »

ttuuxxx wrote:I already renamed them, so its a matter of changing from png to xpm and resizing.
If only it were as easy as that...
There is no such thing as XPM with partial transparency - and these icons do not look nearly as nice if converted to on-off transparency and to sane number of colors.
Fancier RGBA icons such as these cannot in their original form be used with GTK+1, as they need a set of APIs added in GTK+2. And while it is possible to add support for such icons in GTK+2-based builds, it is not a trivial change in any sense - so it is too late for version 3.30. Maybe in 3.35 if I feel like it. :-)

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#20 Post by Flash »

muggins wrote:I forgot that Barry has included libexiv2 in pup4. But it also has libexif.so.12.
If Puppy 4.1.2 already has all that's needed to activate View Exif data, how do I do it?

wjaguar
Posts: 359
Joined: Wed 21 Jun 2006, 14:16

#21 Post by wjaguar »

Flash wrote:If Puppy 4.1.2 already has all that's needed to activate View Exif data, how do I do it?
What it does have is a substitute ('exiv2') and the supporting library ('libexif'); the 'exif' program itself isn't packaged with libexif.
So you either get a compiled 'exif' program from somewhere, or tell mtPaint to use 'exiv2' instead: open "File->Actions->Configure", select "View EXIF data", and in the "Command" field, replace "exif" with "exiv2".

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#22 Post by Flash »

Thanks! I'll try that ASAP. :)
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=69321][color=blue]Puppy Help 101 - an interactive tutorial for Lupu 5.25[/color][/url]

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#23 Post by ttuuxxx »

Hey flash try this version, I just compiled the latest and didn't need any extras, this is on a clean booted 4.1 cd
Plus my version for some odd reason is almost 1/2 the size of muggins'
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#24 Post by Flash »

Thanks, ttuuxxx. I'll try it out sometime this weekend. Does it replace the mtPaint that comes with Puppy?
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=69321][color=blue]Puppy Help 101 - an interactive tutorial for Lupu 5.25[/color][/url]

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#25 Post by ttuuxxx »

yes it does, but if your using 4.0+ series, it should work out of the box.
:)
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#26 Post by Flash »

ttuuxxx, your .pet works fine. I guess I misunderstood though, and thought you meant the "View Exif data" option would work. It doesn't. Neither does changing the "configure file actions" to use exiv2 instead of exif cause the Exif data to show when "View Exif data" is clicked. What happens now is that this appears in Leafpad:
Usage: exiv2 [ options ] [ action ] file ...

Manipulate the Exif metadata of images.
On the other hand, now that I know about exiv2, I tried it out and was able to view Exif data by entering

Code: Select all

exiv2 pr <file>
in a rxvt window.

aarf

#27 Post by aarf »

mtpaint improvement: serial screen shot that could then be exported as .gif or .swf so that we can have a movie of things like "how to configure wifi"

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#28 Post by ttuuxxx »

also the new Apng format looks like puppy might be supporting it, so I guess if possible being able to edit apng and creat apng files, Apng is like an animated gif, it works on firefox3.0 +. I compiled the latest firefox with system support for it and it looks great.
some moving samples of rotating planets are located
http://animatedpng.com/index.php/sample ... e/#more-26
and info about apng can be found at http://animatedpng.com/
it could be tricky because the default format for apng is ".png" its just a patch that goes overtop the main png sources, most of the larger linux distros also are supporting this new format.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

wjaguar
Posts: 359
Joined: Wed 21 Jun 2006, 14:16

#29 Post by wjaguar »

aarf wrote:mtpaint improvement: serial screen shot that could then be exported as .gif or .swf so that we can have a movie of things like "how to configure wifi"
With mtPaint 3.29, it can be done this way:
- when grabbing the screenshots, check the "Undoable" box: this will get them stored as sequence of undo frames;
- then, use "File->Export undo frames" to save all of them as a numbered sequence of images;
- then use some other tool (say Gifsicle or ImageMagick) to convert this sequence into a single animated file.

At the moment, mtPaint does not work with animated GIFs directly - it calls Gifsicle to split them into frames and to merge them back. Builtin GIF animation support is planned for the next major version; and the SWF format is closed, so is impossible to support even if I wished to.
ttuuxxx wrote:also the new Apng format looks like puppy might be supporting it, so I guess if possible being able to edit apng and creat apng files
Like GIF animation, this depends on getting support for animated sequences built into mtPaint; after that is done, extending PNG save/load code to support APNG will not be all that complex.

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#30 Post by ttuuxxx »

the new patched png with Apng support is located below, also include are the dev :) They been tested in firefox 3.1b2 and work perfectly :)
ttuuxxx
Attachments
libpng-1.2.34.pet
(152.55 KiB) Downloaded 560 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

aarf

#31 Post by aarf »

and the SWF format is closed, so is impossible to support even if I wished to.
gimp under "presentation" manages to export .swf

aarf

#32 Post by aarf »

aarf wrote:
and the SWF format is closed, so is impossible to support even if I wished to.
gimp under "presentation" manages to export .swf
think it should be Open Office under "presentation". at least one of the open sourced can do .swf
Edit:
Yes it is OpenOffice Impress presentation.
Edit:
five minutes in openoffice impress:
http://www.badongo.com/vid/987272
you may need to click it for it to go forward t the next page. this version seems unable to add automatic screen changes.
Nice of badongo.com to host .swf now.

wjaguar
Posts: 359
Joined: Wed 21 Jun 2006, 14:16

#33 Post by wjaguar »

aarf wrote:think it should be Open Office under "presentation". at least one of the open sourced can do .swf
Remember the size of the beast. Open Office is beyond huge - it is enormous; one can have a complete OS using a tenth of that space. So having everything, up to and including Out house sink, in there is only to be expected. :-)

The smallest open-source SWF writer I found is 100+ Kb (http://www.swftools.org/); given that entire mtPaint binary is less than 500 Kb, this is prohibitively large size for an export filter. And if one needs an SWF slideshow, he can use the 'png2swf' tool from the link above, to produce it from a sequence of PNGs (or 'jpeg2swf' and a sequence of JPGs); no real need for me to waste significant space building that same tool into mtPaint.

linuxcbon
Posts: 1312
Joined: Thu 09 Aug 2007, 22:54

#34 Post by linuxcbon »

It would be good not to have the settings toolbar appearing when starting it.
File-actions are useless ?
Help menu is too much on the right.

wjaguar
Posts: 359
Joined: Wed 21 Jun 2006, 14:16

#35 Post by wjaguar »

linuxcbon wrote:It would be good not to have the settings toolbar appearing when starting it.
Hide it, and it won't appear - mtPaint remembers settings toolbar's state across sessions.
File-actions are useless ?
Everything in this world is useless to one unwilling to learn how to use it.
Actions are configurable; it is user's responsibility to modify them to match his system's specifics and personal preferences.

Post Reply