Resizing Images Via Batch Process Has Problems
Moderator: Kathy_9
-
mesmith322
- Posts: 33
- Joined: Sat Feb 05, 2011 1:44 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: AMD Corp. Guam Base Board Version
- processor: 2.10 gigahertz AMD Athlon II P320 Dual-Core
- ram: 6GB
- Video Card: ATI Mobility Radeon HD 4200 Series
- sound_card: Conexant SmartAudio HD
- Hard_Drive_Capacity: 307.69 GB
- Monitor/Display Make & Model: Generic PnP Monitor (15.7"vis)
- Location: Marietta, GA
- Contact:
Resizing Images Via Batch Process Has Problems
I frequently use a script to resize .jpgs from 3600x3600 to 1000x1000 dpi to save space on my hard drive. After resizing 300+ .jpgs last night, I found that they all retained their original file size. An image that started out as 3600x3600 dpi with a file size such as 3.5mb that was resized to 1000x1000 dpi using the script in X4 still had a file size of 3.5mb when it should have been considerably smaller than 1mb. I relaunched the application and rebooted my computer but no change. To fix the problem I had to run the .jpgs thru the batch process again using the same script but in X3.
The script I was using was created in X3 so I tried creating an identical script in X4. Regardless of which script I used in the X4 batch process, the same thing happened.
This problem seems to be unique to the script and/or batch process. I can open a .jpg file in X4, resize it from 3600x3600 to 1000x1000 dpi, save the changes, and the file size changes accordingly.
The script I was using was created in X3 so I tried creating an identical script in X4. Regardless of which script I used in the X4 batch process, the same thing happened.
This problem seems to be unique to the script and/or batch process. I can open a .jpg file in X4, resize it from 3600x3600 to 1000x1000 dpi, save the changes, and the file size changes accordingly.
-
Tadjio
- Posts: 1202
- Joined: Fri Mar 28, 2008 3:23 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Gigabyte
- processor: Core i7 2.8GHz 860
- ram: 8GB
- Video Card: ATI HD5570
- sound_card: Sound
- Hard_Drive_Capacity: 2.5TB
- Location: UK
Re: Resizing Images Via Batch Process Has Problems
Can you post the script, or at least the Resize section?
Just such a script works for me, both in X3 and X4.
Just such a script works for me, both in X3 and X4.
Tadjio
PSP X7.2 Ultimate user
AfterShot Pro 2.1 ASPirant
Windows 8.1 64-bit Pro
Canon EOS 100D, Olympus E-PM1 & iPhone 6
PSP X7.2 Ultimate user
AfterShot Pro 2.1 ASPirant
Windows 8.1 64-bit Pro
Canon EOS 100D, Olympus E-PM1 & iPhone 6
-
mesmith322
- Posts: 33
- Joined: Sat Feb 05, 2011 1:44 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: AMD Corp. Guam Base Board Version
- processor: 2.10 gigahertz AMD Athlon II P320 Dual-Core
- ram: 6GB
- Video Card: ATI Mobility Radeon HD 4200 Series
- sound_card: Conexant SmartAudio HD
- Hard_Drive_Capacity: 307.69 GB
- Monitor/Display Make & Model: Generic PnP Monitor (15.7"vis)
- Location: Marietta, GA
- Contact:
Re: Resizing Images Via Batch Process Has Problems
Attached is the script that was created in X3.
-
mesmith322
- Posts: 33
- Joined: Sat Feb 05, 2011 1:44 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: AMD Corp. Guam Base Board Version
- processor: 2.10 gigahertz AMD Athlon II P320 Dual-Core
- ram: 6GB
- Video Card: ATI Mobility Radeon HD 4200 Series
- sound_card: Conexant SmartAudio HD
- Hard_Drive_Capacity: 307.69 GB
- Monitor/Display Make & Model: Generic PnP Monitor (15.7"vis)
- Location: Marietta, GA
- Contact:
Re: Resizing Images Via Batch Process Has Problems
This was the script created in X4. They both had the same result when used in X4.
-
Tadjio
- Posts: 1202
- Joined: Fri Mar 28, 2008 3:23 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Gigabyte
- processor: Core i7 2.8GHz 860
- ram: 8GB
- Video Card: ATI HD5570
- sound_card: Sound
- Hard_Drive_Capacity: 2.5TB
- Location: UK
Re: Resizing Images Via Batch Process Has Problems
I have tried to reproduce what you find, without being able to do so.
I created a 3600x3600 Image, size about 3.5Mb
I ran a script like yours on it in X4 and then as a Batch Process and got the same result - 1000x1000 sized 400kb.
There are a few anomolies about your scripts:-
They will only work properly on square images. I use
'Height': 1080,
'Width': None,
with no AspectRatio setting
Your X3 Script has a strange Resolution: 9144 which looks wrong to me and just might be causing trouble.
There is a known bug where X4 assumes a Resolution of 72 when used in the Edit Mode.
I created a 3600x3600 Image, size about 3.5Mb
I ran a script like yours on it in X4 and then as a Batch Process and got the same result - 1000x1000 sized 400kb.
There are a few anomolies about your scripts:-
They will only work properly on square images. I use
'Height': 1080,
'Width': None,
with no AspectRatio setting
Your X3 Script has a strange Resolution: 9144 which looks wrong to me and just might be causing trouble.
There is a known bug where X4 assumes a Resolution of 72 when used in the Edit Mode.
Tadjio
PSP X7.2 Ultimate user
AfterShot Pro 2.1 ASPirant
Windows 8.1 64-bit Pro
Canon EOS 100D, Olympus E-PM1 & iPhone 6
PSP X7.2 Ultimate user
AfterShot Pro 2.1 ASPirant
Windows 8.1 64-bit Pro
Canon EOS 100D, Olympus E-PM1 & iPhone 6
-
mesmith322
- Posts: 33
- Joined: Sat Feb 05, 2011 1:44 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: AMD Corp. Guam Base Board Version
- processor: 2.10 gigahertz AMD Athlon II P320 Dual-Core
- ram: 6GB
- Video Card: ATI Mobility Radeon HD 4200 Series
- sound_card: Conexant SmartAudio HD
- Hard_Drive_Capacity: 307.69 GB
- Monitor/Display Make & Model: Generic PnP Monitor (15.7"vis)
- Location: Marietta, GA
- Contact:
Re: Resizing Images Via Batch Process Has Problems
All I did to create the scripts was "start" and then "save" recordings. I didn't edit any of the settings; they were just automatic. In fact, I didn't even know to look at the details of the scripts until I posted them in this thread. The resolution settings in both scripts stood out to me but I have no idea how they came to be. I was wondering how to get the script to work on non-square images using pixels instead of percentages. Since most of the time the images I need to resize in that manner are square, it hasn't been a big problem.Tadjio wrote:I have tried to reproduce what you find, without being able to do so.
I created a 3600x3600 Image, size about 3.5Mb
I ran a script like yours on it in X4 and then as a Batch Process and got the same result - 1000x1000 sized 400kb.
There are a few anomolies about your scripts:-
They will only work properly on square images. I use
'Height': 1080,
'Width': None,
with no AspectRatio setting
Your X3 Script has a strange Resolution: 9144 which looks wrong to me and just might be causing trouble.
There is a known bug where X4 assumes a Resolution of 72 when used in the Edit Mode.
-
vciro
- Posts: 33
- Joined: Mon Jun 13, 2011 1:05 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: ASUS P6X58D-E
- processor: INTEL Core I7 3.33 GHz
- ram: 12 Gig
- Video Card: NVIDIA GeForce GTX 580
- sound_card: NVIDIA High Definition Audio
- Hard_Drive_Capacity: 2600.18 Gi
- Monitor/Display Make & Model: Samsung SMB2330H
- Location: Wantagh, Long Island, New York
Re: Resizing Images Via Batch Process Has Problems
May I ask what type of processor you are using? I am having very similar problems with Re-sizing and Cropping under X4 when I did NOT have the problems under X3. I have an open case and there has been some discussion that it might be because I have an newer I7 Processor. 
Semper Fi,
Canon Rebel 450d
PSP X6
Canon Rebel 450d
PSP X6
-
Kathy_9
- Site Admin
- Posts: 2896
- Joined: Tue Nov 30, 2010 12:44 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- processor: 8th Generation Intel Core i7 8700 3 20 GHz
- ram: 16GB
- Video Card: NVIDIA GeForce RTX 2060 [6 GB GDDR6 dedicated]
- sound_card: NVIDIA High Definition Audio
- Hard_Drive_Capacity: 2TB
- Monitor/Display Make & Model: HP EliteDisplay E243m 23.8-inch
- Corel programs: PSPX2 ~2023; Painter 2018~23
- Location: USA
- Contact:
Re: Resizing Images Via Batch Process Has Problems
Her system specs are listed on the right, underneath her avatar.
PSPX9 | PSP2020 | PSP2021| PSP2022 | PSP2023 & PhotoMirage installed; PSPX | PSPX2 thru PSP2019 owned but not installed
http://www.flickr.com/photos/37153430@N03/
http://www.flickr.com/photos/37153430@N03/
-
vciro
- Posts: 33
- Joined: Mon Jun 13, 2011 1:05 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: ASUS P6X58D-E
- processor: INTEL Core I7 3.33 GHz
- ram: 12 Gig
- Video Card: NVIDIA GeForce GTX 580
- sound_card: NVIDIA High Definition Audio
- Hard_Drive_Capacity: 2600.18 Gi
- Monitor/Display Make & Model: Samsung SMB2330H
- Location: Wantagh, Long Island, New York
Re: Resizing Images Via Batch Process Has Problems
Sorry! I should have noticed that. Thanks for pointing it out.Kathy_9 wrote:Her system specs are listed on the right, underneath her avatar.
Semper Fi,
Canon Rebel 450d
PSP X6
Canon Rebel 450d
PSP X6
-
Kathy_9
- Site Admin
- Posts: 2896
- Joined: Tue Nov 30, 2010 12:44 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- processor: 8th Generation Intel Core i7 8700 3 20 GHz
- ram: 16GB
- Video Card: NVIDIA GeForce RTX 2060 [6 GB GDDR6 dedicated]
- sound_card: NVIDIA High Definition Audio
- Hard_Drive_Capacity: 2TB
- Monitor/Display Make & Model: HP EliteDisplay E243m 23.8-inch
- Corel programs: PSPX2 ~2023; Painter 2018~23
- Location: USA
- Contact:
Re: Resizing Images Via Batch Process Has Problems
No problem - all boards are set up different and show info (or not) in different areas, so it's easy to overlook. 
PSPX9 | PSP2020 | PSP2021| PSP2022 | PSP2023 & PhotoMirage installed; PSPX | PSPX2 thru PSP2019 owned but not installed
http://www.flickr.com/photos/37153430@N03/
http://www.flickr.com/photos/37153430@N03/
-
mesmith322
- Posts: 33
- Joined: Sat Feb 05, 2011 1:44 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: AMD Corp. Guam Base Board Version
- processor: 2.10 gigahertz AMD Athlon II P320 Dual-Core
- ram: 6GB
- Video Card: ATI Mobility Radeon HD 4200 Series
- sound_card: Conexant SmartAudio HD
- Hard_Drive_Capacity: 307.69 GB
- Monitor/Display Make & Model: Generic PnP Monitor (15.7"vis)
- Location: Marietta, GA
- Contact:
Re: Resizing Images Via Batch Process Has Problems
Kathy, have they found any answers for you yet?
-
Kathy_9
- Site Admin
- Posts: 2896
- Joined: Tue Nov 30, 2010 12:44 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- processor: 8th Generation Intel Core i7 8700 3 20 GHz
- ram: 16GB
- Video Card: NVIDIA GeForce RTX 2060 [6 GB GDDR6 dedicated]
- sound_card: NVIDIA High Definition Audio
- Hard_Drive_Capacity: 2TB
- Monitor/Display Make & Model: HP EliteDisplay E243m 23.8-inch
- Corel programs: PSPX2 ~2023; Painter 2018~23
- Location: USA
- Contact:
Re: Resizing Images Via Batch Process Has Problems
Sorry, but I wasn't really looking for any answers since I don't use batch processing. My only involvement in the thread was to help vciro, who was looking for your system specs that are listed under your avatar.
Since your script was an automatic recording created by the program and not something you hand coded, you might want to report it directly to Corel here https://www.surveymonkey.com/s/PSPX4
Since your script was an automatic recording created by the program and not something you hand coded, you might want to report it directly to Corel here https://www.surveymonkey.com/s/PSPX4
PSPX9 | PSP2020 | PSP2021| PSP2022 | PSP2023 & PhotoMirage installed; PSPX | PSPX2 thru PSP2019 owned but not installed
http://www.flickr.com/photos/37153430@N03/
http://www.flickr.com/photos/37153430@N03/
-
vciro
- Posts: 33
- Joined: Mon Jun 13, 2011 1:05 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: ASUS P6X58D-E
- processor: INTEL Core I7 3.33 GHz
- ram: 12 Gig
- Video Card: NVIDIA GeForce GTX 580
- sound_card: NVIDIA High Definition Audio
- Hard_Drive_Capacity: 2600.18 Gi
- Monitor/Display Make & Model: Samsung SMB2330H
- Location: Wantagh, Long Island, New York
Re: Resizing Images Via Batch Process Has Problems
CAUTION!
I just downloaded and installed SP1 for X4 and I wish I had good news...but I don't.
Now, in addition to the Cropping/Resizing issue still being there, there is a new and much more serious issue. When I try to save ANY image as a JPEG, I get the same error message. It says that the file name is invalid. No matter what name I try, same message. If this save problem applies across the board to everyone, they really need to pull this back. Right now, X4 is basically not usable as is for me. Thankfully, I still have X3.
I just downloaded and installed SP1 for X4 and I wish I had good news...but I don't.
Now, in addition to the Cropping/Resizing issue still being there, there is a new and much more serious issue. When I try to save ANY image as a JPEG, I get the same error message. It says that the file name is invalid. No matter what name I try, same message. If this save problem applies across the board to everyone, they really need to pull this back. Right now, X4 is basically not usable as is for me. Thankfully, I still have X3.
Semper Fi,
Canon Rebel 450d
PSP X6
Canon Rebel 450d
PSP X6
- flagpole
- Posts: 535
- Joined: Wed Sep 14, 2011 10:12 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Gigabyte B450 AORUS ELITE DDR4 USB 3.1 RGB
- processor: Ryzen 2600
- ram: 16GB
- Video Card: RTX 2060
- sound_card: on board
- Hard_Drive_Capacity: 6.5TB
- Monitor/Display Make & Model: Iiyama 27"
- Location: UK
- Contact:
Re: Resizing Images Via Batch Process Has Problems
i'd never use psp for this. i use a program called easy thumbnail creator. http://www.fookes.com/ezthumbs/ which i can't fault.
@vciro - if i saw the filename invalid thing and i knew that it was valid i would assume it was trying to write something to an area of the disk it wasn't authorised to.
@vciro - if i saw the filename invalid thing and i knew that it was valid i would assume it was trying to write something to an area of the disk it wasn't authorised to.
- hartpaul
- Advisor
- Posts: 2893
- Joined: Tue Mar 20, 2012 3:38 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: ASUSTeK P7P55D STRIX B240F GAMING
- processor: IntelCore i7 7700 3.60 Ghz
- ram: 8 Gb
- Video Card: Nvidia GeForce GTX 1050
- sound_card: Nvidia High Definition Audio
- Hard_Drive_Capacity: 1000 Gb
- Monitor/Display Make & Model: AOC
- Corel programs: PSP8,X2 to X9,2018,2019,2020
- Location: Australia
Re: Resizing Images Via Batch Process Has Problems
Hi Mesmith322.
I managed to get it working in X4 with the following procedure
1 Loaded large image. (even though in Irfanview it showed as 300 dpi, in X4 it showed as 72 dpi -- using the (I)nformation button )
2. Cropped to 3600 x 3600
3. Resized but unticked the resample box and changed the dpi to 300 . This does nit rezize the pixel dimensions which become greyed out. Clicked OK and then saved that.
4. Reloaded that image and this time X4 recognises it as 300 dpi as does Irfanview. (Strange what?? )
5 Prepared and recorded the script for resizing from 3600 to 1000 (don't forget to retick the resample box)
6. Did a batch process and all worked as expected.
I examined the script in wordpad and where in your X3 script it shows 9144 as resolution and X4 showed 72, mine now showed 300.
It may be that you may be able to edit that script and set that to 300 but I have not tested that.
I managed to get it working in X4 with the following procedure
1 Loaded large image. (even though in Irfanview it showed as 300 dpi, in X4 it showed as 72 dpi -- using the (I)nformation button )
2. Cropped to 3600 x 3600
3. Resized but unticked the resample box and changed the dpi to 300 . This does nit rezize the pixel dimensions which become greyed out. Clicked OK and then saved that.
4. Reloaded that image and this time X4 recognises it as 300 dpi as does Irfanview. (Strange what?? )
5 Prepared and recorded the script for resizing from 3600 to 1000 (don't forget to retick the resample box)
6. Did a batch process and all worked as expected.
I examined the script in wordpad and where in your X3 script it shows 9144 as resolution and X4 showed 72, mine now showed 300.
It may be that you may be able to edit that script and set that to 300 but I have not tested that.
Systems available Win7, Win 8.1,Win 10 Version 1607 Build 14393.2007 & version 20H2 Build 19042.867
