Space Cat, Prince Among Thieves

Convert MPO to Anaglyph or Stereoscopic JPEG

Try it out!

Update April 15th, 2015 Man it has been years! I rewrote the entire backend to be in Go instead of PHP for massive memory and speed benefits. Source is availible here. Completely changed the Red/Green algorithm to actually work!

Update October 24th, 2011 This has apparently been broken since I moved my site in mid July. I'm sorry, someone should have commented! It should be fixed now!

Gallery 3D Photo 13D Photo 23D Photo 33D Photo 43D Photo 53D Photo 63D Photo 73D Photo 83D Photo 93D Photo 103D Photo 113D Photo 123D Photo 133D Photo 143D Photo 153D Photo 16

Comment by: eeemartin on

eeemartin GravatarNice Job !
An automatic function "convert to anaglyph" (green / red) would be nice :-)

Edgar

Comment by: Jesse Donat on

Jesse Donat Gravatar@eeemartin
I had not really considered the possibility but that is definitely worth looking into. Thank you for the great suggestion!

Comment by: Antonio on

Antonio GravatarVery interesting! But, do you know any method to convert a Stereoscopic or Anaglyph image to into an MPO file, in order to see it in the 3DS?

Thanks!

Comment by: Jesse Donat on

Jesse Donat Gravatar@Antonio

The MPO format is super simple - you simply take two jpegs, EXIF and all and literally just concatenate them together.

I don't know how technical your background is, but with a simple photo editor and even just a binary safe text editor you could make an MPO - basically you just need to first break the stereoscopic image into two jpeg files using photoshop or something, then just stick them end to end in the same file and change the extension to MPO. In my playing with the 3DS it actually doesn't seem very picky in what it accepts for MPO's so you're probably in luck.

I don't think this would be something I'd implement now, but if I get more requests for it I may consider it.

Comment by: Antonio on

Antonio GravatarThanks Jesse! My technical background it's enough to split a JPEG image into two JPEG's :) So I'm probably in luck!

Really appreciate you're help! I'll post here when I get this working!

Comment by: Chris on

Chris GravatarI was curious, I'm able to create a .JPEG that is the same image end to end and change the file extension to .MPO but when I insert the SD Card back into my 3DS I'm not able to view it...

Am I missing something? By the way, awesome work!

Comment by: Bob W on

Bob W GravatarIs there a mailing list available for this project to follow?

With the advent of the 3DS, I can see this being handy, especially when the code is re-factored.

Also, I'm not too familiar with how GD library works. Is it possible to store the anagylph image instead?

Comment by: Nick on

Nick GravatarNice, but I only have a red/cyan glasses, please support this!
oh.. an optimized color or gray-scale anaglyph would be nice also! :-)

Comment by: Nick on

Nick GravatarI'm trying to make a converter for JPG to MPO in PHP. I want to be able to view other 3D images on my Nintendo 3ds. But for some reason it still does not work. How does the EXIF data needs to look like? My 3ds does not accept the MPO file.

Comment by: Jesse G. Donat on

Jesse G. Donat Gravatar@Nick - I've only done some limited testing with doing the reverse, eg: creating an MPO - but it worked for me litterally just concatinating two images of equal dimensions end to end, two exif entries and all.

Comment by: Pedro on

Pedro GravatarAm I doing it wrong or are stereo jpg pictures inverted?
DO I HAVE MY EYES STUCK TO MY FACE WRONG?

Comment by: kenmyers on

kenmyers GravatarCan you do anaglyph to .mpo? I have some NASA images I want to view on my 3DS.

Comment by: Jan on

Jan GravatarHello, are you going to publish source for Anaglyph?

Thank you.

Comment by: Valentina on

Valentina GravatarThank you very much! I've eventually found a way to split mpo files!

Email address will never be publicly visible.