The time now is Wed 19 Jun 2013, 09:06
All times are UTC - 4 |
| Author |
Message |
vovchik

Joined: 23 Oct 2006 Posts: 1239 Location: Ukraine
|
Posted: Fri 09 Mar 2012, 11:59 Post_subject:
Pikona - Puppy Icon Assembler NEW and TINY! - v.0.4e Sub_title: No dependencies on IM :) |
|
Dear puppians,
I have rewritten Pikona, eliminated all IM dependencies and the binary is now about 29k. It should run fine on most recent puppies. Please see first Pikona post for details. More info is contained in the Pikona readme, which is accessible from the Pikona4 menu. The link is here: http://www.murga-linux.com/puppy/viewtopic.php?p=363580#363580.
With kind regards,
vovchik
PS. The source is also in the pikona4-base.pet
|
|
Back to top
|
|
 |
davids45

Joined: 26 Nov 2006 Posts: 581 Location: Chatswood, NSW
|
Posted: Sat 10 Mar 2012, 01:29 Post_subject:
Sub_title: A rectangular button? |
|
G'day vovchik,
Many thanks for creating this excellent new version of pikona.
Works for me very nicely with squares and circles in slacko and Exprimo. (But just got a Segmentation Fault in 3-headed Dog.)
Is it possible to create rectangular buttons? I have some images I'd like to buttonise but these are rectangular not square.
I stretched a square background image from your pet using gimp - to 2:1 and 3:1 (length:height ratio) - which seemed to work in pikona. But adding an obj graphic of mine saw it distorted (squashed to one side) in the new 'Executed' icon. Example rectangular button attached.
Is there a work-around - perhaps I could also stretch my original?
David S.
| Description |
|
| Filesize |
28.77 KB |
| Viewed |
278 Time(s) |

|
|
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1239 Location: Ukraine
|
Posted: Sun 11 Mar 2012, 09:32 Post_subject:
|
|
Dear David,
Thanks. I pretty much hardcoded 128x128 for now (stretching both x and y to fill that space), but my routine that does the rescaling allows for stretching on either axis - or both - depending on what you feed it. I will look into feeding different x and y for the next iteration of Pikona. The easiest solution might be a checkbox with the word "Aspect" and a tooltip that says "Preserve aspect ratio of original". When checked, I would determine the largest of the two dimensions of the image, determine the ratio of x:y, scale the largest side to 128, calculate the size of the smaller side accordingly, and centre the new image on a blank 128x128 canvas. Your workaround with one dimension being 128 will do the trick. Just fill the blank space of the smaller side with alpha transparency and it should centre properly and look OK.
With kind regards,
vovchik
PS. Why is it segfaulting in 3-headed dog? You could try compiling it from scratch in that puppy. The source is in /usr/local/pikona4/data/src.
|
|
Back to top
|
|
 |
pemasu

Joined: 08 Jul 2009 Posts: 5174 Location: Finland
|
Posted: Sun 11 Mar 2012, 13:19 Post_subject:
|
|
Works in Dpup Exprimo. Thank of this wonderful gem.
| Description |
|
| Filesize |
16.23 KB |
| Viewed |
234 Time(s) |

|
|
|
Back to top
|
|
 |
|
|
|
Rules_post_cannot Rules_reply_cannot Rules_edit_cannot Rules_delete_cannot Rules_vote_cannot You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|
[ Time: 0.0584s ][ Queries: 14 (0.0148s) ][ GZIP on ] |