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 Sun 19 May 2013, 08:43
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
[SOLVED] Command to resize png images
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
Argolance


Joined: 06 Jan 2008
Posts: 1360
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Sun 02 Oct 2011, 07:16    Post subject:  [SOLVED] Command to resize png images  

Hello!
This Linux/Unix 'convert' command exists but seems not to be present on Puppy! I need it to resize png images inside a script...
Thank you for your attention.

Regards.

_________________


Last edited by Argolance on Thu 06 Oct 2011, 13:39; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
Luluc


Joined: 16 Mar 2011
Posts: 200

PostPosted: Sun 02 Oct 2011, 07:29    Post subject:  

That is part of the ImageMagick package. You can get it with the Puppy Package Manager, from an Ubuntu repository, I think.
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5240
Location: Valåmoen, Norway

PostPosted: Sun 02 Oct 2011, 08:30    Post subject:  

Pwidgets uses resizepng
resizepng.gz
Description 
gz

 Download 
Filename  resizepng.gz 
Filesize  2 KB 
Downloaded  103 Time(s) 

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
Argolance


Joined: 06 Jan 2008
Posts: 1360
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Sun 02 Oct 2011, 09:11    Post subject:  

@zigbert
... I was writing my post as you sent yours.... Wink

---------------------------------------------------------------------------
Hello,
Thanks for replying.
Quote:
That is part of the ImageMagick package. You can get it with the Puppy Package Manager, from an Ubuntu repository, I think
I finally found something in Puppy but the command seems to be part of Pwidget by zigbert!

'/usr/bin/resizepng'
Code:
resizepng in.png out.png w h x
    - w (width): number of pixels
    - h (height): number of pixels
    - x, don't know exactly what is this number used for but if not present, command doesn't work and console sends a segmentation error... Any number different from 0 seems working... This has to be cleared up though!

Regards.

_________________


Last edited by Argolance on Mon 03 Oct 2011, 03:05; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
Argolance


Joined: 06 Jan 2008
Posts: 1360
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Sun 02 Oct 2011, 09:15    Post subject:  

Hello Zigbert!
Please, may I ask you what is the third number used for?
Thanks a lot.

Regards.

_________________

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


Joined: 23 Oct 2006
Posts: 1229
Location: Ukraine

PostPosted: Thu 06 Oct 2011, 01:44    Post subject:  

Dear Argolance,

You could try my picscale: http://www.murga-linux.com/puppy/viewtopic.php?t=72183, which can handle a variety of file types, the alpha channel (transparency) and is small. Barry has included it in later puppies too:) http://bkhome.org/blog/?viewDetailed=02375.

With kind regards,
vovchik
Back to top
View user's profile Send private message 
Argolance


Joined: 06 Jan 2008
Posts: 1360
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Thu 06 Oct 2011, 03:24    Post subject:  

Great!
Thank you.

_________________

Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5240
Location: Valåmoen, Norway

PostPosted: Thu 06 Oct 2011, 12:13    Post subject:  

Argolance wrote:
may I ask you what is the third number used for?
Without looking into it (ages since I used it), it sounds logical that the third number sets quality/compression.


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
Argolance


Joined: 06 Jan 2008
Posts: 1360
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Thu 06 Oct 2011, 13:38    Post subject:  

Ok, thank you Zigbert!
_________________

Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
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.0589s ][ Queries: 13 (0.0093s) ][ GZIP on ]