EDIT: I Stand corrected. I was simply not grabbing the correct data. I both feel like an idiot, and am so confused. It's weird that it continued to work up until a certain layer and then only failed on the transparency mask. But apparently, once I fixed my own stupid mistake. (been making a lot of those lately) the thing finished without any issues. So....yeah still no closer to figuring out where the issue is. Now that I can decompress the channels I'll see if I can't export each layer as an PNG.
EDIT 2: So I can export as a BMP pretty easily. Though my current method, for some odd reason, is extremely slow. I can decompress, manipulate, zip, and then reconfigure all 3 channels in a layer in just a few seconds. But for some reason, converting them into a final image takes 4 minutes. I've been at this for a good hour and I've only managed 12 layers converted. It makes no sense.
Any tools or methods to recover a corrupted PSPimage (2020)
Moderator: Kathy_9
-
LeviFiction
- Advisor
- Posts: 6831
- Joined: Thu Oct 02, 2008 1:07 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Alienware M17xR4
- processor: Intel Core i7-3630QM CPU - 2_40GH
- ram: 6 GB
- Video Card: NVIDIA GeForce GTX 660M
- sound_card: Sound Blaster Recon3Di
- Hard_Drive_Capacity: 500GB
- Corel programs: PSP: 8-2023
- Location: USA
Re: Any tools or methods to recover a corrupted PSPimage (20
https://levifiction.wordpress.com/
-
LeviFiction
- Advisor
- Posts: 6831
- Joined: Thu Oct 02, 2008 1:07 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Alienware M17xR4
- processor: Intel Core i7-3630QM CPU - 2_40GH
- ram: 6 GB
- Video Card: NVIDIA GeForce GTX 660M
- sound_card: Sound Blaster Recon3Di
- Hard_Drive_Capacity: 500GB
- Corel programs: PSP: 8-2023
- Location: USA
Re: Any tools or methods to recover a corrupted PSPimage (20
Okay, all layers exported without issue. It only took 5 hours to complete.
Here is the final result of adding all layers together - https://drive.google.com/file/d/1LS2HJO ... sp=sharing
Considering the colors here are off, I'm assuming either the Red channel is empty, or I just screwed up putting the three channels together. Still a lot more work to do, but if this works the way I think it should, then I might be able to create a method to recover the majority of an image after it's been corrupted. Admittedly it would be a lot better if Corel offered their own recovery option instead of just claiming it's "Invalid".
Here is the final result of adding all layers together - https://drive.google.com/file/d/1LS2HJO ... sp=sharing
Considering the colors here are off, I'm assuming either the Red channel is empty, or I just screwed up putting the three channels together. Still a lot more work to do, but if this works the way I think it should, then I might be able to create a method to recover the majority of an image after it's been corrupted. Admittedly it would be a lot better if Corel offered their own recovery option instead of just claiming it's "Invalid".
https://levifiction.wordpress.com/
-
LeviFiction
- Advisor
- Posts: 6831
- Joined: Thu Oct 02, 2008 1:07 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Alienware M17xR4
- processor: Intel Core i7-3630QM CPU - 2_40GH
- ram: 6 GB
- Video Card: NVIDIA GeForce GTX 660M
- sound_card: Sound Blaster Recon3Di
- Hard_Drive_Capacity: 500GB
- Corel programs: PSP: 8-2023
- Location: USA
Re: Any tools or methods to recover a corrupted PSPimage (20
Not to keep beating a dead horse but I'm making progress, slow progress but still, and now I have a question.
Does anyone have corrupted images they kept that you're willing to share? In order to make my program as useful as possible I need to be able to analyze multiple corruption/failures. And I only have this one file and another one from 3 years ago. I was able to fully recover the majority of the information in these two images. Still have more to learn of course.
So, if there are any more corrupted files people are willing to share I'd be more than happy to take a look and see if there is anything that can be done with them.
Does anyone have corrupted images they kept that you're willing to share? In order to make my program as useful as possible I need to be able to analyze multiple corruption/failures. And I only have this one file and another one from 3 years ago. I was able to fully recover the majority of the information in these two images. Still have more to learn of course.
So, if there are any more corrupted files people are willing to share I'd be more than happy to take a look and see if there is anything that can be done with them.
https://levifiction.wordpress.com/
-
Nrde
- Posts: 23
- Joined: Thu Jan 17, 2019 7:35 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- Corel programs: PSP, painter essentials, photomirage
Re: Any tools or methods to recover a corrupted PSPimage (20
In case you want another really small example or an broken image: https://drive.google.com/file/d/11uCjnr ... sp=sharing
This one has a neat feature of crashing PSP 2019-2020 (at least) when accessing it in any way within PSP. (meaning even trying to load the preview for the Windows folder picture, when opening files)
This one has a neat feature of crashing PSP 2019-2020 (at least) when accessing it in any way within PSP. (meaning even trying to load the preview for the Windows folder picture, when opening files)
-
LeviFiction
- Advisor
- Posts: 6831
- Joined: Thu Oct 02, 2008 1:07 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Alienware M17xR4
- processor: Intel Core i7-3630QM CPU - 2_40GH
- ram: 6 GB
- Video Card: NVIDIA GeForce GTX 660M
- sound_card: Sound Blaster Recon3Di
- Hard_Drive_Capacity: 500GB
- Corel programs: PSP: 8-2023
- Location: USA
Re: Any tools or methods to recover a corrupted PSPimage (20
Wow, that's a dangerous file. xD The second I saved it to my computer, Windows Explorer crashed constantly. I had to use command prompt to rename the extension. Even better, it's not a corrupted image. Or, at least I don't think it is.
So this image is very simple, as you know, it's just a single raster layer 8192x47. Filled entirely with white. It has no layer effects, normal blend mode, normal opacity. And I can export the layer as a PNG with zero issues, usually my script tells me there is something wrong with the image data and attempts to correct for it. Zero errors from my script while reading your image.
So I manually recreated this file all on my own. And it started to crash Windows Explorer immediately. Working off the assumption it has to do with the size of the image I began resizing the height of the image. From 47-54 pixels the image always crashes. But at 55 pixels high, the crashing stops.
I'm including the non-crashing version of the image here, does PSP still crash for you with this image?
So this image is very simple, as you know, it's just a single raster layer 8192x47. Filled entirely with white. It has no layer effects, normal blend mode, normal opacity. And I can export the layer as a PNG with zero issues, usually my script tells me there is something wrong with the image data and attempts to correct for it. Zero errors from my script while reading your image.
So I manually recreated this file all on my own. And it started to crash Windows Explorer immediately. Working off the assumption it has to do with the size of the image I began resizing the height of the image. From 47-54 pixels the image always crashes. But at 55 pixels high, the crashing stops.
I'm including the non-crashing version of the image here, does PSP still crash for you with this image?
- Attachments
-
- test4.zip
- (2.08 KiB) Downloaded 149 times
https://levifiction.wordpress.com/
-
Jean-Luc
- Advisor
- Posts: 2177
- Joined: Sat Oct 22, 2011 10:50 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: ASUS Computer N751J
- processor: Intel i7_4710 HQ 2_50GHz
- ram: 16GB
- Video Card: NVIDIA GeForce GTX 850M
- sound_card: NVIDIA High Definition Audio
- Hard_Drive_Capacity: 2 Tb
- Monitor/Display Make & Model: NVIDIA GeForce GTX 850M
- Corel programs: PSP X7, X9, 2018 to 2023
- Location: Belgium (French speaking)
- Contact:
Re: Any tools or methods to recover a corrupted PSPimage (20
Just curious: in which case do you use a 8192x47 pixels image?Nrde wrote:In case you want another really small example or an broken image
THE PAINTSHOP PRO COOKBOOK - GENEALOGY WITH PAINTSHOP PRO
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
-
Andy2011
- Posts: 115
- Joined: Sun Sep 22, 2019 4:26 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Gigabyte A520M S2H
- processor: AMD Ryzen 5 PRO 4650G 6 Core CPU
- ram: 16 GB
- Video Card: Integrated Radeon Vega GPU
- sound_card: on board
- Hard_Drive_Capacity: 2500 GB
- Monitor/Display Make & Model: BENQ GW2760HS + Benq T905 as second monitor
- Corel programs: Aftershot Pro 3, Paint Shop Pro 2020
- Location: UK
Re: Any tools or methods to recover a corrupted PSPimage (20
That's the stuff of software testing! I wonder what happens for 47x8192?
Knowledge is recognising that a tomato is a fruit: experience is not putting it in a fruit salad.
-
Nrde
- Posts: 23
- Joined: Thu Jan 17, 2019 7:35 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- Corel programs: PSP, painter essentials, photomirage
Re: Any tools or methods to recover a corrupted PSPimage (20
Sorry for not getting back earlier, but I can confirm the attached image you created does not crash explorer anymore.LeviFiction wrote:I'm including the non-crashing version of the image here, does PSP still crash for you with this image?
So you found a simple DOS attack vector for PSP users...Wonder if it's a problem with windows or PSP installing some mime type or something for windows to know to process pspimage as imagefile.
@Jean-luc it's a stencil that I use when doing 3d modeling, but I'm not using such "big" files anymore anyway. But I suppose it's a "good" thing I did so we, the community learned something, I wish Corel would too.
-
LeviFiction
- Advisor
- Posts: 6831
- Joined: Thu Oct 02, 2008 1:07 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Alienware M17xR4
- processor: Intel Core i7-3630QM CPU - 2_40GH
- ram: 6 GB
- Video Card: NVIDIA GeForce GTX 660M
- sound_card: Sound Blaster Recon3Di
- Hard_Drive_Capacity: 500GB
- Corel programs: PSP: 8-2023
- Location: USA
Re: Any tools or methods to recover a corrupted PSPimage (20
It has been reported to Corel and they say they will look into it. I believe it specifically has to do with the PSPThumbnail extension corel registers with Windows Explorer when it installs PSP.
I tried the PSPThumbnail extension from botproductions and their extension did not crash PSP
I tried the PSPThumbnail extension from botproductions and their extension did not crash PSP
https://levifiction.wordpress.com/
