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 Wed 26 Nov 2014, 12:20
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
ImageWorsener 0.94 - crop, rescale etc. from CLI
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
vovchik


Joined: 23 Oct 2006
Posts: 1287
Location: Ukraine

PostPosted: 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.
imagew-0.94-vov-src.tar.gz
Description 
gz

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

 Download 
Filename  imagew-0.94-doc.tar.gz 
Filesize  469.24 KB 
Downloaded  280 Time(s) 
imagew-0.94.pet
Description 
pet

 Download 
Filename  imagew-0.94.pet 
Filesize  37.46 KB 
Downloaded  293 Time(s) 
Back to top
View user's profile Send_private_message 
disciple

Joined: 20 May 2006
Posts: 6458
Location: Auckland, New Zealand

PostPosted: 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.
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send_private_message 
vovchik


Joined: 23 Oct 2006
Posts: 1287
Location: Ukraine

PostPosted: 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.Smile

With kind regards,
vovchik
Back to top
View user's profile Send_private_message 
Burunduk

Joined: 21 Aug 2011
Posts: 62

PostPosted: 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).
imagew-0.9.7.pet
Description  Image scaling and processing utility for Lupu 525 and 528.
pet

 Download 
Filename  imagew-0.9.7.pet 
Filesize  70.31 KB 
Downloaded  262 Time(s) 

Edited_time_total
Back to top
View user's profile Send_private_message 
vovchik


Joined: 23 Oct 2006
Posts: 1287
Location: Ukraine

PostPosted: 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
View user's profile Send_private_message 
vovchik


Joined: 23 Oct 2006
Posts: 1287
Location: Ukraine

PostPosted: 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
View user's profile Send_private_message 
666philb


Joined: 07 Feb 2010
Posts: 1882
Location: wales

PostPosted: 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
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
Back to top
View user's profile Send_private_message 
Burunduk

Joined: 21 Aug 2011
Posts: 62

PostPosted: 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.)
libjpeg-turbo8-1.1.90.pet
Description  From Ubuntu Precise for Lupu ONLY (Slacko already has libjpeg-8 library).
pet

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

 Download 
Filename  imagew_webp-0.9.7.pet 
Filesize  159.39 KB 
Downloaded  283 Time(s) 
Back to top
View user's profile Send_private_message 
pemasu


Joined: 08 Jul 2009
Posts: 5465
Location: Finland

PostPosted: 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
View user's profile Send_private_message 
vovchik


Joined: 23 Oct 2006
Posts: 1287
Location: Ukraine

PostPosted: 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
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
Jump to:  

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.0604s ][ Queries: 12 (0.0043s) ][ GZIP on ]