Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 18 Apr 2014, 04:36
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
Pikona - Puppy Icon Assembler NEW and TINY! - v.0.4e
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: Fri 09 Mar 2012, 11:59    Post subject:  Pikona - Puppy Icon Assembler NEW and TINY! - v.0.4e
Subject description: 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
View user's profile Send private message 
davids45


Joined: 26 Nov 2006
Posts: 607
Location: Chatswood, NSW

PostPosted: Sat 10 Mar 2012, 01:29    Post subject:
Subject description: 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.
obl21_glass_gr_Gofamily2_blank_96.png
 Description   
 Filesize   28.77 KB
 Viewed   331 Time(s)

obl21_glass_gr_Gofamily2_blank_96.png

Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: 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
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5458
Location: Finland

PostPosted: Sun 11 Mar 2012, 13:19    Post subject:  

Works in Dpup Exprimo. Thank of this wonderful gem.
pemasu-icon.png
 Description   
 Filesize   16.23 KB
 Viewed   281 Time(s)

pemasu-icon.png

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0484s ][ Queries: 13 (0.0050s) ][ GZIP on ]