View Single Post
Posts: 13 | Thanked: 12 times | Joined on Feb 2012 @ Czech Republic
#47
So...today I have tested new version from store, with HTTP authentication implemented...and screenshot functionality works now
I have only one suggestion....since jpg picture got from dreambox with mixed screen picture and OSD picture has poor quality (colors are crippled for both...), I would rather take only OSD shot in png format, which preserves exact colors and is not compressed like jpg, therefore much more clearly readable on small N9 screenshot box. Also I think OSD shot is enough to control Dream, I do not need TV picture in the background....but it is only my opinion and I do not know for which purpose it was ment by you....and what opinion other people have about that....?
It is possible to take osd shot following way:
Code:
// for example send INFO button command, HTTP "204 no content"
// response code
GET http://dreamaddr/cgi-bin/rc?358

// send command to prepare osd shot, HTTP response undefined
GET http://dreamaddr/cgi-bin/osdshot?display=no

//  get png picture with actual osd shot, HTTP "200 OK" response code
GET http://dreamaddr/root/tmp/osdshot.png
or
Code:
// for example send INFO button command, HTTP "204 no content"
// response code
GET http://dreamaddr/cgi-bin/rc?358

// send command to prepare osd shot and automaticaly redirect
// client to png picture via HTTP "307 temporary redirect" response
// code, client should process info in 307 response, with information
// to which url do the redirection immediately
GET http://dreamaddr/cgi-bin/osdshot
GET http://dreamaddr/root/tmp/osdshot.png
What do you thing about that?
Finally, It is a good work from your side
 

The Following User Says Thank You to sanmob For This Useful Post: