Ok, let me give you a proper response. Basically an MPO file is just two standard JPEG files appended together. All my program does is slice the file into two and save the data with the JPEG extension. There is no conversion going on. The reason renaming the file to JPG works is because it is basically JPEG data. So an image program (like photoshop) will start reading the file as a JPEG and all is fine until it hits the End Of Image marker. The second image is right after that but the program is only expecting one image so it stops there. You can extract this data manually, but it will be time consuming for more than just a couple of pictures at a time. However if you have no other choice, here is how to do it.jimmydonc wrote:seriously how does your application work? Is there some long way around? what's the difference between an MPO and a jpeg? I changed the extension to jpeg out of curosity and was able to open it in photoshop. Of course it was the same as the 2 d jpeg. not it's stereo pair. where's that second image hiding in there??
- First off, you will need a Hex editor to manipulate the file. This one for Mac looks decent: https://www.ifd.com/product_info.php/products_id/87" onclick="window.open(this.href);return false;
- Open the MPO file in the Hex editor. Start a new search, set it to "Hex" and search for this string "FFD8FFE1". That is the Start Of Image marker for a standard JPEG/EXIF file. Your first find will be the beginning of the file naturally, so hit "Find Next". This will be the break point between the image data.
- Select all the data before this point and save it to a file with the extension "JPG", this will be the left image. Most hex editors will let you do something like "Save selection to file" or something similarly named. Now select all the data after the marker (and including the marker) and save this to another JPG file. This is the right image.
- Thats it, you're done. You now have both stereo pairs.
Obviously this is not very practical for a large set of images, but its at least a solution.
I am looking into how I can make my program for the Mac and I found a way to install OS X on my PC. If I can get OS X running it should be fairly simple to just re-compile the program for use on Mac. However this is a whole other can of worms to get into, so its probably going to be another week to two before I could have this done. But I am looking into it. I am also working on a fully featured 3D image editing program (to compete with StereoPhoto Maker) and now that I think of it, it would be nice to have cross-platform support (PC, Mac and maybe Linux). Would help at least to give me an edge. Macs are also popular with the photography crowd so if this Fujifilm camera becomes popular I could see a lot of demand for something like this. I'm not making any promises, but it is on the table.