Author |
Message |
vovchik

Joined: 23 Oct 2006 Posts: 1447 Location: Ukraine
|
Posted: Tue 07 Feb 2012, 15:39 Post subject:
ImageWorsener 0.94 - crop, rescale etc. from CLI |
|
Dear puppians,
I recently discovered this command line utility - ImageWorsener - that can crop, rescale and manipulate graphics in high quality. The full version supports WebP and jpg, but I had problems compiling it and commented out the WebP and JPEG sections, so it now produces png files (but can still read a number of different input files). UPXe'd, it is 38k. I compiled it under Lucid, so it should work on recent puppies (except for Racy, it turns out). I am attaching a pet with the executable (/usr/local/bin/imagew) and separate archives for documentation (which you should read, since there are heaps of parameters) and the source (with my modded makefile). The homepage is here: http://entropymine.com/imageworsener/.
Have fun...
With kind regards,
vovchik
PS. It is self-contained and does not require ImageMagick or any large other external library.
Description |
|

Download |
Filename |
imagew-0.94-vov-src.tar.gz |
Filesize |
94.92 KB |
Downloaded |
404 Time(s) |
Description |
|

Download |
Filename |
imagew-0.94.pet |
Filesize |
37.46 KB |
Downloaded |
435 Time(s) |
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6781 Location: Auckland, New Zealand
|
Posted: Fri 10 Feb 2012, 03:09 Post subject:
|
|
He also has some very interesting documentation on his site about issues such as resampling and subpixel rendering.
_________________ If you have or know of a good gtkdialog application, please post a link here
Classic Puppy quotes
ROOT FOREVER
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1447 Location: Ukraine
|
Posted: Fri 10 Feb 2012, 06:11 Post subject:
|
|
Dear disciple,
It is good stuff, and his program is very decent. One of these days I will look into the compilation errors I got with the jpeg stuff and try to fix the lib business - unless somebody else wants to. The prog could also use a gui (gtkdialog) front end for those intimidated by all the options. Also a project for another day.
With kind regards,
vovchik
|
Back to top
|
|
 |
Burunduk
Joined: 21 Aug 2011 Posts: 63
|
Posted: Fri 10 Feb 2012, 10:23 Post subject:
|
|
I've compiled imagew on Lupu 525 without any problem (maybe because it's a different version - 0.9.7). It can resize jpeg images. The runtest script: 7 of 130 failed (2 tests concern webp — I don't have that library; jpeg.jpg is a riddle). If someone wants to test it more thoroughly, I've attached the pet (works on Lupu 525/528; not compressed; docs inside).
Description |
Image scaling and processing utility for Lupu 525 and 528.
|

Download |
Filename |
imagew-0.9.7.pet |
Filesize |
70.31 KB |
Downloaded |
393 Time(s) |
Last edited by Burunduk on Fri 10 Feb 2012, 13:19; edited 1 time in total
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1447 Location: Ukraine
|
Posted: Fri 10 Feb 2012, 10:34 Post subject:
|
|
Dear Burunduk,
Brilliant. Works fine on my main system (Lucid). Thanks.
With kind regards,
vovchik
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1447 Location: Ukraine
|
Posted: Fri 10 Feb 2012, 13:42 Post subject:
|
|
Dear puppians,
Here is a little program I wrote that complements ImageWorsener in that it can create png overlays and can reposition and rescale images, obviating the need for ImageMagick in many cases. It is also tiny, the UPX'd binary weighing it at some 7k! The URL is here: http://www.murga-linux.com/puppy/viewtopic.php?t=75922.
With kind regards,
vovchik
|
Back to top
|
|
 |
666philb

Joined: 07 Feb 2010 Posts: 3171 Location: wales
|
Posted: Fri 10 Feb 2012, 19:10 Post subject:
|
|
doh..... ! misspost
_________________ Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
|
Back to top
|
|
 |
Burunduk
Joined: 21 Aug 2011 Posts: 63
|
Posted: Sun 12 Feb 2012, 17:29 Post subject:
|
|
Ok, this time all tests passed. (Depends on libjpeg-8; compiled statically against libwebp 0.1.3; tested on Lupu 525, 528 and Slacko 531.)
Description |
From Ubuntu Precise for Lupu ONLY (Slacko already has libjpeg-8 library).
|

Download |
Filename |
libjpeg-turbo8-1.1.90.pet |
Filesize |
110.43 KB |
Downloaded |
407 Time(s) |
Description |
Image scaling and processing utility.
|

Download |
Filename |
imagew_webp-0.9.7.pet |
Filesize |
159.39 KB |
Downloaded |
404 Time(s) |
|
Back to top
|
|
 |
pemasu

Joined: 08 Jul 2009 Posts: 5484 Location: Finland
|
Posted: Sun 12 Feb 2012, 18:03 Post subject:
|
|
Works fine in dpup exprimo. No need to install libjpeg.so.8. It was already in place.
Thanks.
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1447 Location: Ukraine
|
Posted: Sun 12 Feb 2012, 19:10 Post subject:
|
|
Dear Burunduk,
Thanks again for this complete version. Works fine in Lucid, too.
With kind regards,
vovchik
|
Back to top
|
|
 |
|