| Author |
Message |
Argolance

Joined: 06 Jan 2008 Posts: 1406 Location: PORT-BRILLET (Mayenne - France)
|
Posted: 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
|
|
 |
Luluc

Joined: 16 Mar 2011 Posts: 200
|
Posted: 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
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5295 Location: Valåmoen, Norway
|
Posted: Sun 02 Oct 2011, 08:30 Post subject:
|
|
Pwidgets uses resizepng
| Description |
|

Download |
| Filename |
resizepng.gz |
| Filesize |
2 KB |
| Downloaded |
105 Time(s) |
_________________ Stardust resources
|
|
Back to top
|
|
 |
Argolance

Joined: 06 Jan 2008 Posts: 1406 Location: PORT-BRILLET (Mayenne - France)
|
Posted: Sun 02 Oct 2011, 09:11 Post subject:
|
|
@zigbert
... I was writing my post as you sent yours....
---------------------------------------------------------------------------
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
|
|
 |
Argolance

Joined: 06 Jan 2008 Posts: 1406 Location: PORT-BRILLET (Mayenne - France)
|
Posted: 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
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1239 Location: Ukraine
|
Posted: 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
|
|
 |
Argolance

Joined: 06 Jan 2008 Posts: 1406 Location: PORT-BRILLET (Mayenne - France)
|
Posted: Thu 06 Oct 2011, 03:24 Post subject:
|
|
Great!
Thank you.
_________________

|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5295 Location: Valåmoen, Norway
|
Posted: 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
|
|
 |
Argolance

Joined: 06 Jan 2008 Posts: 1406 Location: PORT-BRILLET (Mayenne - France)
|
Posted: Thu 06 Oct 2011, 13:38 Post subject:
|
|
Ok, thank you Zigbert!
_________________

|
|
Back to top
|
|
 |
|