loading
 
HTTP Read module, Image format
ANDREAS from Germany  [4 posts]
6 years
Which image formats does the HTTP Read module handle?
Roborealm crashes with my custom image server that serves GIF images.

Any plans to implement aditional image formats? bmp, tif, gif, png, pgm?

Thanks

Andreas
Anonymous 6 years
Andreas,

RoboRealm can handle all the formats that you mention but I think the HTTP ready only works with JPG. This is something that can quickly be upgraded to also support gif. If you can expose your image server to the internet that would help us test that capability to ensure it works with your software.

You can use the contact form to privately send us the IP address if this is possible.

Let us know ...

STeven.
ANDREAS from Germany  [4 posts] 6 years
Hi Steven,

unfortunately I can't make the server accessible but have a look at the
wireshark log of a server response. It is basically a server that serves gif
and pgm (greyscale) files.
From the "Content-type" header one can identify the image type, that could
be enough to decide how to handle the body data.

The Server can also respond with a "motion gif" stream similar to network
cameras that have mjpeg streams. See 3rd picture.

Does that information help you?

Thanks

Andreas

   
Anonymous 6 years
Andreas,

Actually ... the HTTP read module already DOES support GIF (my mistake) and even  PNG. We did, however, think we may have found the reason it didn't work. The Content-type is normally Content-Type, i.e. capital T which is not something the HTTP Read module liked. Since this is a minor change we updated the HTTP read to be case insensitive which should hopefully fix the issue (seems that content-len is also lower case in your server).

Give version 2.42.18 a try ... since we don't have anything to test this against we're not 100% sure that this was the only issue.

Thanks for the scans as they did prove helpful!

STeven.
ANDREAS from Germany  [4 posts] 6 years
Hi Steve,

I just tried the 2.42.18 but no success, Roborealm detects an error and crashes. :-(
I also tried to serve the image from a local Apache server or form http://www.rejetto.com/hfs/
AFAIK the http header strings are written in all different ways, lower case, upper case, mixed,... So accepting all formats by changing everything to lower or upper case before parsing is a good idea I guess.

How am I supposed to configure the http read module, like in the attached screenshot?

Andreas

 
Anonymous 6 years
Andreas,

You should have seen a c:\RoboRealm.log created after that crash. Can you zip that up and post it here? That will help us determine the reason for the crash.

The HTTP read module seems correctly configured.

Thanks,
STeven.
Anonymous 6 years
Andreas,

I think we may have found the issue. Go ahead and download the most recent version (Options button->Download) and see if that helps.

STeven.
ANDREAS from Germany  [4 posts] 6 years
Hi Steve,

this one works perfect! By the way, is there a way to specify a proxy for http to reach the Internet (webcams)?  

Thanks!

Andreas

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index