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 Tue 17 Jul 2018, 21:04
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
Image reduce and convert
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
Peterm321

Joined: 29 Jan 2009
Posts: 386

PostPosted: Mon 17 Oct 2016, 21:05    Post subject:  Image reduce and convert
Subject description: Tools to change image depth, size
 

Greetings forum readers:

My attempts to post a few programs I have compiled recently:

pngquant:

The best tool to my knowledge to convert 24 bit RGB(A) png images to 8-bit palette. (The second best in my experience is the GIMP). The GIMP also has a posterize tool that can reduce colors to more than 256 whereas pngquant's maximum is 256. pngquant offers the choice of dithering and the number of colours in the final image. For example choose 15 colours for a 4 bit palette, 7 for a 3 bit palette etc for big filesize reduction.

Image worsen:

Mostly I use as a commandline to resize images. Has various other options to change colourspace, dithering and so on.

partinfo.awk

Why awk? Smaller than Perl, is typically configured with busybox so near universal availability. The version of awk known as mawk posted elesewhere in this forum is by a few magnitudes faster than a shell script. mawk does not support IGNORECASE=1 so the case insensitive index function was included so that mawk can be used.

partinfo.awk relies on the output of fdisk and blkid to list the sd device partitions, their partition filetypes and labels if any. Some versions of blkid do not output the filesystem type so this awk script will not work as intended on some systems.

pngquant and imageworsen (imagew) were compiled on upup-raring and should work on most fairly recent systems not so sure about others such as wary that may use older versions for example of libpng.
IMAGEW.ZIP
Description 
zip

 Download 
Filename  IMAGEW.ZIP 
Filesize  235.82 KB 
Downloaded  54 Time(s) 
PNGQUANT.ZIP
Description 
zip

 Download 
Filename  PNGQUANT.ZIP 
Filesize  65.72 KB 
Downloaded  59 Time(s) 
Back to top
View user's profile Send private message 
rodocop

Joined: 16 Nov 2011
Posts: 43
Location: Saint-Petersburg, Russia

PostPosted: Sun 11 Dec 2016, 16:23    Post subject:  

Great stuff!

Thank you for sharing!

And the best tool I know for this purposes is XnConvert
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 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.0737s ][ Queries: 12 (0.0141s) ][ GZIP on ]