Irfanview
-
kiwichick
- Posts: 675
- Joined: 08 Aug 2012 04:14
- Location: Windows 10 Pro 22H2, 150% scaling
Re: Irfanview
I've just checked it out in XYplorer and, if you mean Rotate Left and Rotate Right in the Floating Preview right-click context menu, it only rotates the picture for that one-time view - it doesn't save the picture with the new rotation. And I want to batch rotate - that's why your IfranViewSuite script would be so handy.
Windows 10 Pro 22H2
-
RalphM
- Posts: 2089
- Joined: 27 Jan 2005 23:38
- Location: Cairns, Australia
Re: Irfanview
Serendipity was probably talking about the scripting command rotate, which can be used in various ways.
I got two PFA's defined with the following code doing the trick for me:
I got two PFA's defined with the following code doing the trick for me:
Code: Select all
|"Rotate -90° clockwise" jpg>::rotate 270
|"Rotate 90° clockwise" jpg>::rotateRalph 
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
-
kiwichick
- Posts: 675
- Joined: 08 Aug 2012 04:14
- Location: Windows 10 Pro 22H2, 150% scaling
Re: Irfanview
Hey thanks for that Ralph!!! That certainly does the trick, although it only works on one image no matter how many are selected. I should be able to create a foreach loop though, shouldn't I, to do multiple imahes at once?
Windows 10 Pro 22H2
-
kiwichick
- Posts: 675
- Joined: 08 Aug 2012 04:14
- Location: Windows 10 Pro 22H2, 150% scaling
Re: Irfanview
Well I'm quite proud of myself. I haven't tested all the actions of this script but for Rotate it was the sel +1 command. The +1 needs to be enclosed in quotes now so it should be sel "+1".
Windows 10 Pro 22H2
-
RalphM
- Posts: 2089
- Joined: 27 Jan 2005 23:38
- Location: Cairns, Australia
Re: Irfanview
Happy you got it working for you.
Ralph 
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
XYplorer Beta Club