Export JPG?

Q&A about the latest versions
Post Reply
NFSTC
Posts: 20
Joined: Fri Feb 04, 2011 8:38 pm

Hi All,

I would like to be able to have a user export a jpg (or other image format) from their current position in the pano. Is this possible? I've been looking on the forums and can't find anything. If so, what is the command to make this happen? If it's not possible does anyone have any ideas about how I might be able to do this?

Thanks,

Danny
User avatar
360Texas
Moderator
Posts: 3684
Joined: Sat Sep 09, 2006 6:06 pm
Location: Fort Worth, Texas USA
Contact:

When we need a picture of somewhere in the panorama.. we just do a screen capture or [PrtScn][ print screen.
That puts it into the computers buffer area.
Then we open Photoshop and do a "ctrl v" or paste into a new canvas.

http://en.wikipedia.org/wiki/Print_screen

PrintScn is ASCII key stroke 44

Maybe there is an ASCII key stroke number that will get it to paste into a new file canvas.
Dave
Pano2VR Forum Global Moderator
Image
Visit 360texas.com
NFSTC
Posts: 20
Joined: Fri Feb 04, 2011 8:38 pm

Thanks for the suggestion. I'm trying to find a way to automatically send it to a server so the image can be saved as part of the students test. Having them use print screen or some other browser add-on isn't an option. I need to find a way for them to click a button and have it output an image file that can be sent to the server. I have a couple options that I'm exploring but it doesn't look like anyone has done this with panorama's before. Hard to believe I'm the first. :-)

If anyone has done this please let me know so I don't reinvent the wheel.
NFSTC
Posts: 20
Joined: Fri Feb 04, 2011 8:38 pm

I'm still looking for an answer if anyone knows of any or has any other ideas. Thanks!
User avatar
Hopki
Gnome
Posts: 13021
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

php script,
Talking with Thomas he is saying that this can be done server side with php scrip. You should be able to send the current view to the server and the php scrip will do the magic. This can be the resolution of the pano rather than the lower resolution of a screen shot.
This is only a hint as I have no idea how you would even go about doing this as I am no coder, but the point is it can be done.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
NFSTC
Posts: 20
Joined: Fri Feb 04, 2011 8:38 pm

Thanks Hopki. I've been looking at that but ImageMagick is the library I've been looking at and it doesn't seem to provide anything for equirectangular or cube faces. If Thomas has a library or script he's used for something like that let me know. I'd be very grateful. Thank you.
User avatar
thomas
Chief Gnome
Posts: 2613
Joined: Fri Sep 01, 2006 3:56 pm
Location: Vienna, Austria
Contact:

You need to use something that can handle panoramas. You can use for example panotools or nona and call those program from the command line within your server side (PHP) script.

Please have a look for example at http://wiki.panotools.org/Panorama_scri ... a_nutshell and http://wiki.panotools.org/Nona
MfG, Thomas
Post Reply