MPO to JPS and PNS
I got some good feedback from the last post and updated the script to export JPEG Stereo (JPS) and PNG Stereo (PNS, really.) This way you can convert your images into a single lossless image that you can pop into photoshop and adjust hsv/levels, etc.
import mpo mpo.makePNS('DSCF9463.MPO') #>>Saving image: DSCF9463.PNS #>>Save complete. |
This is a super simple python script, no error padding. Also, keep in mind that coming from most modern camera rigs, you are saving like a 20-40 megapixel PNG compressed file here, wait until it says it is done saving, it may take a few seconds.
Hi Chris, it seems that http://www.chrisevans3d.com/files/mpo.py is unreachable. The server reports “500 Internal Server Error”. Any ideas?
Comment by Maxim Doucet — 2010/04/12 @ 2:11 PM
I think you have to right click and say ‘save as’. Let me know if this doesn’t work.
Comment by admin — 2010/04/12 @ 6:21 PM
No it doesn’t work, the dowloaded .py file contains HTML:
500 Internal Server Error
Internal Server Error
The server encountered an internal error or
misconfiguration and was unable to complete
your request.
Please contact the server administrator,
webmaster@chrisevans3d.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.
More information about this error may be available
in the server error log.
Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.
Comment by Maxim Doucet — 2010/04/13 @ 2:06 AM
This the same for all python files: the problem appears with http://chrisevans3d.com/files/mbui.py and http://chrisevans3d.com/files/mbui_subframe.py too (from http://www.chrisevans3d.com/tutorials.htm)
Comment by Maxim Doucet — 2010/04/13 @ 2:13 AM
I see, it just downloads a .py named file with html garbage in it. weird, thanks I will look into it, this must have just started happening, weird server error.
Comment by admin — 2010/04/13 @ 2:41 AM
Hey man, just fixed all the ones I could find. I am unsure when the server started giving these errors, the links were working when I first put them up (?) Thanks for bringing it to my attention!
Comment by admin — 2010/04/25 @ 4:28 PM