Author |
Message |
smokey01

Joined: 30 Dec 2006 Posts: 2682 Location: South Australia
|
Posted: Sat 19 Dec 2009, 20:10 Post subject:
.pet for shrinking photos Subject description: Useful when sending by email |
|
A little while back I developed a simple image reducer so I thought I would share.
Shrink 1.0
Shrink is a very simple application that will allow you to reduce the size of a photo to either 640x480, 800x600 or 1024x768.
The default way to achieve this is to use ROX to view your photos, right mouse click on the photo that you wish to shrink then choose the size from the drop-down menu. There will be three options that display ShrinkTo640, ShrinkTo800 and ShrinkTo1024.
It is also possible to hold down the Ctrl key while you select your photos. This will
allow you to shrink many photos at once.
If you prefer to drag and drop, simply drag and drop the icons from the /usr/local/shrinkimage folder to the desktop. This will allow you to drop a photo on the icon to shrink the photo. Once again multiple photos can be done at the same time.
Your converted photos will be stored in /root/ShrunkenPhotos
This is not a new concept as others have done similar things before. I only discovered that after I had put this together.
Why did I bother?
For years I have been using Picasa which is a great piece of software. Unfortunately it is quite large and runs slowly on my computer. It also uses a lot of disk space and the more photos that are added the more space is used and the slower it becomes. The other problem is the large pup_save file you need unless you run a full installation or link it outside of the pup_save file. Of course Picasa does a lot more than view and reduce photos but that's what I mainly used it for. If you the take time to organise your photos in a logical directory structure it will be easy to find them.
Puppy has included many image viewers over the years and most of them have been excellent.
The main reason I want to shrink photos is to reduce the size when attaching to email.
Shrink uses little space and is fast. The main application included is aaphoto which does all the smart work, I take absolutely no credit for that. It does take a few seconds to reduce the photo so be patient and I think you will find this useful, if you don't, simply uninstall it.
Enjoy.
_________________ Software <-> Distros <-> Tips <-> Newsletters
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 12824 Location: Arizona USA
|
Posted: Sat 19 Dec 2009, 22:33 Post subject:
|
|
mtPaint in Puppy already can do that and much more.
|
Back to top
|
|
 |
smokey01

Joined: 30 Dec 2006 Posts: 2682 Location: South Australia
|
Posted: Sun 20 Dec 2009, 03:34 Post subject:
|
|
Hi Flash,
I would be interested to know how. I like Mtpaint which I use all the time but it doesn't have a command line option that allows multiple files to be shrunk at once. mtPaint is an editor rather than a viewer and I only know how to view and shrink one file at a time. I like to be able to view the thumbnails in ROX and mark multiple files then reduce their size many at a time.
I even communicated with Dmitry Groshev, the maintainer of mtPaint, and he said it couldn't be done from the command line either. He was trying to compile part of the code for me but I'm not sure if he was successful.
In the meantime I found this method to be simple and effective.
I would be very happy to use mtPaint instead if you can explain how I can achieve a similar result with the same simplicity.
Thanks
Smokey
_________________ Software <-> Distros <-> Tips <-> Newsletters
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6747 Location: hobart
|
Posted: Sun 20 Dec 2009, 08:57 Post subject:
|
|
You can also reduce jpeg sizes using the webpack script. It uses jpegtran to do this.
|
Back to top
|
|
 |
mawebb88
Joined: 13 Jul 2008 Posts: 246 Location: France nr Lyon
|
Posted: Mon 21 Dec 2009, 17:33 Post subject:
IrfanView |
|
I just had to get my XP fav IrfanView running under Puppy to shrink and do lots of other things. Runs just fine with WINE.
Rgds Mike
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 12824 Location: Arizona USA
|
Posted: Mon 21 Dec 2009, 22:54 Post subject:
|
|
smokey01 wrote: | Hi Flash,
I would be interested to know how. I like Mtpaint which I use all the time but it doesn't have a command line option that allows multiple files to be shrunk at once. mtPaint is an editor rather than a viewer and I only know how to view and shrink one file at a time. I like to be able to view the thumbnails in ROX and mark multiple files then reduce their size many at a time.
I even communicated with Dmitry Groshev, the maintainer of mtPaint, and he said it couldn't be done from the command line either. He was trying to compile part of the code for me but I'm not sure if he was successful.
In the meantime I found this method to be simple and effective.
I would be very happy to use mtPaint instead if you can explain how I can achieve a similar result with the same simplicity.
Thanks
Smokey |
Sorry, Smokey. I didn't read your post closely enough to notice that your program could reduce pictures in bulk.
|
Back to top
|
|
 |
aragon
Joined: 15 Oct 2007 Posts: 1698 Location: Germany
|
Posted: Tue 22 Dec 2009, 03:58 Post subject:
|
|
smokey,
if you want to reduce the size of your package, have a look at scale2pics
http://murga-linux.com/puppy/viewtopic.php?t=29184
aragon
_________________ PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
|
Back to top
|
|
 |
smokey01

Joined: 30 Dec 2006 Posts: 2682 Location: South Australia
|
Posted: Tue 22 Dec 2009, 04:41 Post subject:
|
|
aragon, thanks for that. It looks like it might do the same job. It appears to have similar functions to aaphoto.
I think aaphoto is a bit too big and slower than I would like otherwise it does an excellent job.
This might make a better alternative.
Thanks
_________________ Software <-> Distros <-> Tips <-> Newsletters
|
Back to top
|
|
 |
tomypuppy
Joined: 14 Apr 2011 Posts: 3
|
Posted: Mon 23 May 2011, 16:36 Post subject:
amazing.. |
|
i dont know if its ok or not to post in an old forum..
but...
this shrink is an amazing piece of software..
just wanted to convey its author a big thanks..
for the sake of discussion,...i had a little prob..
im a newbie on lupu525...
and i was not able to get drop down menu on right click for shrinking as u had suggested in rox ..
not tht its a must..even without it,your pet is wonderful...as is puppy!!
|
Back to top
|
|
 |
jrb

Joined: 11 Dec 2007 Posts: 1103 Location: Smithers, BC, Canada
|
Posted: Mon 23 May 2011, 21:45 Post subject:
Re: amazing.. |
|
tomypuppy wrote: | this shrink is an amazing piece of software..
i was not able to get drop down menu on right click |
I agree, this is a really handy .pet.
If you right click on your .jpeg file you should get a drop down menu which has "Open With." (I'm looking at it in lupu525 right now) Click on "Open With" and another menu will open up with the "ShrinkTo" options.
However, I am attaching my slight revision of this .pet which places the "ShrinkTo" options on the first right click menu, but only for .jpegs.
Enjoy, J
|
Back to top
|
|
 |
tomypuppy
Joined: 14 Apr 2011 Posts: 3
|
Posted: Tue 24 May 2011, 17:34 Post subject:
wow!!!! |
|
jrb bro..
i never expected to have such a quick reply..
and that too with a patch!!
u guys really care for us newbies..thanx bro
|
Back to top
|
|
 |
grump

Joined: 10 Oct 2011 Posts: 124 Location: Melbourne, Oz
|
Posted: Tue 11 Oct 2011, 21:02 Post subject:
|
|
Very handy pet thanks! Saves me the pain of installing Wine and Irfanview.
|
Back to top
|
|
 |
grump

Joined: 10 Oct 2011 Posts: 124 Location: Melbourne, Oz
|
Posted: Mon 21 Nov 2011, 20:49 Post subject:
|
|
Just fiddling trying to re-size a pic to use as an avatar, and thought it would be handy to have a 'ShrinkTo150' option as well. Is this something I can do with a bit of coding?
btw it does not seem to work in Slacko - I had to fire up Lupo (both the current versions) and install it there.
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1447 Location: Ukraine
|
Posted: Tue 22 Nov 2011, 04:56 Post subject:
picscale pet |
|
Dear grump,
You could try my "picscale", which is part of wary, I think. A link to a pet I compiled in Lucid is here:
http://murga-linux.com/puppy/viewtopic.php?mode=attach&id=42741. The pet is all of 14k.
With kind regards,
vovchik
Last edited by vovchik on Tue 22 Nov 2011, 04:58; edited 1 time in total
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1447 Location: Ukraine
|
Posted: Tue 22 Nov 2011, 04:57 Post subject:
|
|
Sorry, double post....
|
Back to top
|
|
 |
|