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 Mon 20 Nov 2017, 00:13
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
PeasyScale Graphic Image Resizer
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 4 [49 Posts]   Goto page: Previous 1, 2, 3, 4 Next
Author Message
rcrsn51


Joined: 05 Sep 2006
Posts: 11721
Location: Stratford, Ontario

PostPosted: Sun 25 Jan 2015, 15:23    Post subject:
Subject description: PeasyScale v1.7
 

edoc wrote:
Anyhow, sorry to say it does not work in LightHouse64.

PeasyScale uses a 32-bit binary called peasyscale.bin.

I have sent you a 64-bit version of PeasyScale to test.
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4722
Location: Southeast Georgia, USA

PostPosted: Wed 28 Jan 2015, 22:35    Post subject:  

Sorry, again, got distracted ...

It appears to have worked, on steroids!

It chopped the 3.4g 2832x2128 image down to 53k 800x600!

I've been trying to test it on the Polaroid picture frame gadget but cannot get the computer to recognize it for some reason.

I need to buy a SC card and transfer the files there manually.

Thanks again and sorry for the delays!

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
TahrPup64 & Lighthouse64-b602 & JL64-603
Back to top
View user's profile Send private message Visit poster's website 
Moat


Joined: 16 Jul 2013
Posts: 766
Location: Mid-mitten, USA

PostPosted: Wed 28 Jan 2015, 23:41    Post subject:  

rcrsn51 wrote:
I have yet to get any feedback on the new WidthxHeight feature.


WidthxHeight works perfectly in Precise 5.7.1 retro!

Possible bug in the rotate function, though (?) - selecting Rotate 90 seems to have lopped off a bit of the original image's bottom, and added a corresponding blank area to it's top (see attached image result, for clarity - original "Fontwizard" screenshot window on left, post-rotated on right) -
PeasyScale_1.7_rotate_test.jpg
 Description   Rotate 90 function results
 Filesize   59.13 KB
 Viewed   312 Time(s)

PeasyScale_1.7_rotate_test.jpg

Back to top
View user's profile Send private message 
Moat


Joined: 16 Jul 2013
Posts: 766
Location: Mid-mitten, USA

PostPosted: Thu 29 Jan 2015, 02:00    Post subject:  

More artifacts, it seems... image attached, with individual pictures re-rotated back upright within Viewnior for easier comparison. "Rotate -90" trims a bit off the right and adds it back to the left - "Rotate 90" does so from bottom to top.

Bob
PeasyScale_1.7_rotate_test2.jpg
Description  PeasyScale rotate test2
jpg

 Download 
Filename  PeasyScale_1.7_rotate_test2.jpg 
Filesize  52.53 KB 
Downloaded  220 Time(s) 
Back to top
View user's profile Send private message 
Moat


Joined: 16 Jul 2013
Posts: 766
Location: Mid-mitten, USA

PostPosted: Thu 29 Jan 2015, 02:22    Post subject:  

Just to add... Thinking it might have been an artifact from generating the above images via Precise's screenshot tool, I tried it on a random .jpeg downloaded from a webpage, with the same result as above.

Aack! Both "Flip vertical" and "Flip horizontal" are creating similar artifacts, too...

Bob
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11721
Location: Stratford, Ontario

PostPosted: Thu 29 Jan 2015, 07:14    Post subject:  

Thanks for testing the WidthxHeight feature.

I have also seen those artifacts left by transformations, but only with some jpegs. They are coming from the jpegtran tool, not from PeasyScale itself.

I looked at the jpegtran options and there is a "-trim" argument that solves the problem. I guess that it trims off any non-standard parts of the image.

You can test this yourself with

Code:
jpegtran -rotate 90 -trim old.jpg > new.jpg


I have posted a new version above with this fix.

Last edited by rcrsn51 on Thu 29 Jan 2015, 08:05; edited 2 times in total
Back to top
View user's profile Send private message 
smokey01


Joined: 30 Dec 2006
Posts: 2657
Location: South Australia

PostPosted: Thu 29 Jan 2015, 07:40    Post subject:  

rcrsn51, Have you looked at aaphoto?

If so how does it compare to jpegtran?

I know aaphoto retains the exif data and it seems to have similar functionality.
aaphoto.tar.gz
Description  aaphoto (32bit)
gz

 Download 
Filename  aaphoto.tar.gz 
Filesize  33.66 KB 
Downloaded  179 Time(s) 

_________________
Software <-> Distros <-> Tips <-> Newsletters
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 11721
Location: Stratford, Ontario

PostPosted: Thu 29 Jan 2015, 08:09    Post subject:  

smokey01 wrote:
rcrsn51, Have you looked at aaphoto?

No, but I'm sure that it has more features.

The objective of PeasyScale is to provide some basic tools for Puppy users that do not require a larger third-party app like aaphoto.
Back to top
View user's profile Send private message 
Moat


Joined: 16 Jul 2013
Posts: 766
Location: Mid-mitten, USA

PostPosted: Thu 29 Jan 2015, 08:58    Post subject:  

rcrsn51 wrote:
You can test this yourself with

Code:
jpegtran -rotate 90 -trim old.jpg > new.jpg


Played with this, and yes - definitely seems the better choice to (only possibly!) lose a few rows of pixels, than to have them transposed onto some other edge of the image, instead. Apparently, an unavoidable byproduct of 100% lossless transformations on images sized with some uneven multiple of block sizes... or something like that... Smile

Thank for the fix, rcrsn51!

Bob
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11721
Location: Stratford, Ontario

PostPosted: Thu 29 Jan 2015, 09:15    Post subject:  

Moat wrote:
Apparently, an unavoidable byproduct of 100% lossless transformations on images sized with some uneven multiple of block sizes... or something like that... Smile

My thoughts exactly. Wink

If I transform an original JPEG from my camera, I don't see the artifacts.

I have posted the patched v1.8 above.
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4722
Location: Southeast Georgia, USA

PostPosted: Fri 30 Jan 2015, 13:11    Post subject:  

Will v. 1.8 work on a 64-bit Puppy?

Also, are the results I saw what you'd expect?

The tiny new file size surprised me as when I reduce images manually, using GIMP, they are no where that small.

Thanks - David

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
TahrPup64 & Lighthouse64-b602 & JL64-603
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 11721
Location: Stratford, Ontario

PostPosted: Fri 30 Jan 2015, 13:23    Post subject:  

edoc wrote:
Will v. 1.8 work on a 64-bit Puppy?

I have attached the new 64-bit version.

Quote:
Also, are the results I saw what you'd expect? The tiny new file size surprised me as when I reduce images manually, using GIMP, they are no where that small

I don't know what Gimp does. All that matters is the quality of the 800x600 image once it goes in the photo frame.
peasyscale_slacko64-1.8.pet
Description 
pet

 Download 
Filename  peasyscale_slacko64-1.8.pet 
Filesize  9.33 KB 
Downloaded  170 Time(s) 
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4722
Location: Southeast Georgia, USA

PostPosted: Fri 30 Jan 2015, 14:00    Post subject:  

Thanks!

v. 1.8-64 works fine.

I didn't observe any differences in the output.

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
TahrPup64 & Lighthouse64-b602 & JL64-603
Back to top
View user's profile Send private message Visit poster's website 
charlie6


Joined: 30 Jun 2008
Posts: 1175
Location: Saint-Gérard / Walloon part of Belgium

PostPosted: Fri 06 Feb 2015, 02:30    Post subject:  

Hi rscrn51,
tons of thanks for this awesome and new update Smile
here is the french locale update
Cheers, Charlie
ps: the archives name has fr_BE in it .... Confused
BUT the mo file is well located under /usr/share/locale/fr Very Happy
MoManager-fr_BE-peasyscale-1.8.tar.gz
Description 
gz

 Download 
Filename  MoManager-fr_BE-peasyscale-1.8.tar.gz 
Filesize  1.57 KB 
Downloaded  146 Time(s) 
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11721
Location: Stratford, Ontario

PostPosted: Fri 20 May 2016, 18:58    Post subject:  

PeasyScale v1.9 posted above. See the Update notes.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 4 [49 Posts]   Goto page: Previous 1, 2, 3, 4 Next
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.0648s ][ Queries: 12 (0.0089s) ][ GZIP on ]