DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Last post Author Topic: RIOT tool that respects folder hierarchy? (for JPEG compression?)  (Read 38,929 times)

dcsev

  • Participant
  • Joined in 2009
  • *
  • Posts: 182
Re: RIOT tool that respects folder hierarchy? (for JPEG compression?)
« Reply #25 on: April 22, 2015, 05:55 PM »
wtf? That  is so very bizarre. I am able to replicate this 100%. 

Here is the image I am using: http://i.ytimg.com/vi/-J_7Q6NMqVo/maxresdefault.jpg

Before compression size: 318kb
After compression size:  265 kb

I double click on it the JPEG file and press SHIFT R in Xnview (rotate right). Save the changes

Post-rotate size: 901kB♥

wtf?

Post-rotated and compressed again:  260kb

4wd

  • Pedantic Old Bastard
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,652
    • Coding Snacks
Re: RIOT tool that respects folder hierarchy? (for JPEG compression?)
« Reply #26 on: April 22, 2015, 10:25 PM »
Unless you've changed XNView' hotkeys Shift+R is not Lossless rotation.

Lossless rotation is Control+Shift+R/L and if you want to avoid XNView trimming unnecessary pixels from the edges then you need to use the menu Tools->JPEG Lossless Transformations->Dialog and deselect that option as shown in my image above.

What you're doing is using normal rotation and then when you save it, it is recompressing the image using whatever options are set for JPEG compression, which looks to be close to 100%.

Lossless JPEG Rotation acts on the original image immediately, there is no need to save it afterwards.
"I will not follow where the path may lead, but I will go where there is no path, and I will leave a trail." - Muriel Strode, 1903
« Last Edit: April 23, 2015, 05:55 AM by 4wd »

4wd

  • Pedantic Old Bastard
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,652
    • Coding Snacks
Re: RIOT tool that respects folder hierarchy? (for JPEG compression?)
« Reply #27 on: April 23, 2015, 05:54 AM »
Here is the image I am using: http://i.ytimg.com/vi/-J_7Q6NMqVo/maxresdefault.jpg

Before compression size: 318kb
After compression size:  265 kb

And after a Lossless 90° Right Rotation, the image is 261kB.

If you use the shortcut, (Control+Shift+R), the image will be trimmed by 8 pixels (1072x1920).
If you use the Dialog, it won't providing you've deselected that option.
"I will not follow where the path may lead, but I will go where there is no path, and I will leave a trail." - Muriel Strode, 1903
« Last Edit: April 23, 2015, 06:05 AM by 4wd »

dcsev

  • Participant
  • Joined in 2009
  • *
  • Posts: 182
Re: RIOT tool that respects folder hierarchy? (for JPEG compression?)
« Reply #28 on: April 24, 2015, 09:03 AM »
Quote
What you're doing is using normal rotation and then when you save it, it is recompressing the image using whatever options are set for JPEG compression, which looks to be close to 100%.

Bingo. I think this is it.  Could explain why JPEGr (another AWESOME program) also has the same problem

dcsev

  • Participant
  • Joined in 2009
  • *
  • Posts: 182
Re: RIOT tool that respects folder hierarchy? (for JPEG compression?)
« Reply #29 on: April 24, 2015, 09:11 AM »
Ok, I understand your explanation and I followed your directions exactly and I still am having the file size issue problem.

I have "use Lossless rotation when possible (JPEG)" in Xnview  Under Settings / Browser/ Misc (3rd/last checkbox) ENABLED.
I open a photo (compressed with Photoresizer ) in Xnview
I press SHIFT CONTROL R
Save
The file size doubles.

What am I doing wrong?

4wd

  • Pedantic Old Bastard
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,652
    • Coding Snacks
Re: RIOT tool that respects folder hierarchy? (for JPEG compression?)
« Reply #30 on: April 24, 2015, 01:07 PM »
What am I doing wrong?

This:

Quote
Save

Lossless JPEG Rotation acts on the original image immediately, there is no need to save it afterwards.

I emphasized the necessary bit.
"I will not follow where the path may lead, but I will go where there is no path, and I will leave a trail." - Muriel Strode, 1903

dcsev

  • Participant
  • Joined in 2009
  • *
  • Posts: 182
vlastimil,
Thanks again for this tool. I use it on a weekly basis :)
Saves me so much time!

Original address: https://www.donationcoder.com/forum/index.php?topic=28239.0