PeasyScale Graphic Image Resizer

Paint programs, vector editors, 3d modelers, animation editors, etc.
Message
Author
User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#31 Post by rcrsn51 »

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.

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#32 Post by edoc »

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!
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#33 Post by Moat »

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) -
Attachments
PeasyScale_1.7_rotate_test.jpg
Rotate 90 function results
(59.13 KiB) Downloaded 578 times

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#34 Post by Moat »

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
Attachments
PeasyScale_1.7_rotate_test2.jpg
PeasyScale rotate test2
(52.53 KiB) Downloaded 617 times

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#35 Post by Moat »

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

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#36 Post by rcrsn51 »

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: Select all

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, 12:05, edited 2 times in total.

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#37 Post by smokey01 »

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.
Attachments
aaphoto.tar.gz
aaphoto (32bit)
(33.66 KiB) Downloaded 513 times

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#38 Post by rcrsn51 »

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.

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#39 Post by Moat »

rcrsn51 wrote: You can test this yourself with

Code: Select all

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... :)

Thank for the fix, rcrsn51!

Bob

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#40 Post by rcrsn51 »

Moat wrote:Apparently, an unavoidable byproduct of 100% lossless transformations on images sized with some uneven multiple of block sizes... or something like that... :)
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.

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#41 Post by edoc »

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
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#42 Post by rcrsn51 »

edoc wrote:Will v. 1.8 work on a 64-bit Puppy?
I have attached the new 64-bit version.
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.
Attachments
peasyscale_slacko64-1.8.pet
(9.33 KiB) Downloaded 510 times

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#43 Post by edoc »

Thanks!

v. 1.8-64 works fine.

I didn't observe any differences in the output.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#44 Post by charlie6 »

Hi rscrn51,
tons of thanks for this awesome and new update :)
here is the french locale update
Cheers, Charlie
ps: the archives name has fr_BE in it .... :?
BUT the mo file is well located under /usr/share/locale/fr :D
Attachments
MoManager-fr_BE-peasyscale-1.8.tar.gz
(1.57 KiB) Downloaded 479 times

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#45 Post by rcrsn51 »

PeasyScale v1.9 posted above. See the Update notes.

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

v1.9 french translation

#46 Post by charlie6 »

Hi Bill,
Many tons of thanks again for this new version !

note: in the po file , i have changed line 17 to:

Code: Select all

"Content-Type: text/plain; charset=UTF-8\n"
code= UTF-8 to get the accented characters.

Cheers, Charlie
Last edited by charlie6 on Sun 22 May 2016, 18:11, edited 1 time in total.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#47 Post by rcrsn51 »

Merci Charlie. I made one small change this morning before I saw that you had already translated it!

Je suis désolé.

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

v1.9 french translation

#48 Post by charlie6 »

Hi Bill,
no problem !
here it is :D
Cheers, Charlie
Attachments
MoManager-fr_BE-peasyscale-1.9.tar.gz
(1.53 KiB) Downloaded 436 times

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#49 Post by Argolance »

Bonjour,
French translation file as attached file to be renamed as .mo file (PeasyScale 2.0).

Cordialement.
Attachments
peasyscale.zip
(2.19 KiB) Downloaded 367 times

jaylcee
Posts: 11
Joined: Mon 09 Jan 2017, 13:59

#50 Post by jaylcee »

Hello there and happy new year!

I felt in love with Peasyscale while using Puppy Tahr. Now I switched to Xenial and installed it (pity that is not included in the basic installation) but it is not working: when I press "scale", an error message appears saying the file does not exist or, for a folder, that the file does not content any pictures. I tried with with different locations, pictures, folders.

Any idea? Thank you.

Post Reply