Asked by:
HDMake Error : hr = 80070057

Question
-
Hello,
When using HDMake with one photo, i have this error : 80070057. I tried different parameters with no success, it always fails after 97%. In the destination folder, the folder "l_0" is missing. I use the last version of HDMake (1.4) and the image size is 39096 x 4124.
Console outputE:\>hdmake.exe -src SCUL.jpg
HDMake: Begin -> generating tiles
HDMake: 8% 17% 25% 33% 42% 50% 58% 67% 75% 79% 83% 86% 90% 94% 97%HDMake: ER
ROR - hr = 80070057
HDMake: ERROR code returned 80070057
What I'm doing wrong ?
Thanks,
ServanThursday, March 20, 2008 1:47 PM
All replies
-
Hello,
Thanks for reporting this. It looks like you have found a bug in hdmake. Due to your particular image size, L_1 ends up having a tile that is 1 pixel high. This causes an issue in the temporary files that hdmake uses. You can work around it by calling hdmake this way:
hdmake -src SCUL.jpg -inmem 2
Normally for large images images like this hdmake will use temporary files to do the processing. the -inmem argument above forces it to do all the processing in memory. This will cause hdmake to use alot of memory but will avoid the temporary file that is 1 pixel high.
We will fix this for the next release, but for now hope this helps.
Thursday, March 20, 2008 4:03 PM -
- Proposed as answer by marie209 Wednesday, February 10, 2010 5:24 AM
Friday, March 21, 2008 12:27 PM -
Hi Matt,
I am seeing the same issue, but the workaround isn't really sufficient. If I use the arguments in the way shown, it uses about 1.1 GB of RAM (computer in total, not just HDMake) and does work:
Code SnippetC:\temp>hdmake -src livingroom.jpg -inmem 2
HDMake: Begin -> opening source image(s)
HDMake: 10%
HDMake: End -> opening source image(s) (took 252 seconds)
HDMake: Begin -> saving output tiles
HDMake: 14% 17% 21% 25% 28% 32% 36% 39% 43% 47% 51% 54% 58% 62% 65% 69% 72% 7
4% 77% 80% 82% 85% 88% 90%
HDMake: End -> saving output tiles (took 740 seconds)
However, if I additionally specify the -xmlsphere option, it only uses ~0.5 GB of RAM and fails:
Code SnippetC:\temp>hdmake -src livingroom.jpg -inmem 2 -xmlsphere livingroo
m.xml 0 360 30.98 165.83
HDMake: Begin -> opening source image(s)
HDMake:
HDMake: End -> opening source image(s) (took 6.1 seconds)
HDMake: Begin -> generating tiles
HDMake: 4% 9% 13% 18% 22% 26% 31% 35% 40% 44% 49% 53% 57% 62% 66% 71% 75% 7
9% 83% 88% 92% 95% 98%HDMake: ERROR - hr = 80070057
HDMake: ERROR code returned 80070057
It appears that the inmem option is ignored for some reason, if I use the -xmlsphere option.
You may also be interested to know that I also experienced the same 80070057 error in the Photoshop plugin.
Good luck, and looking forward to the next release,
-Russ MacKenzie
rmacken1 at interchange.ubc.ca
- Proposed as answer by marie209 Wednesday, February 10, 2010 5:23 AM
Wednesday, April 30, 2008 10:16 PM