How fix a raw text image gif to send to front end - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: How fix a raw text image gif to send to front end (/thread-1293.html) |
How fix a raw text image gif to send to front end - cprmlao@hotmail.com - 10-06-2019 I have a winCGI executable script returning a image. I am using Intraweb as server. The cgi is from a third party and I can't change your code. I create my owner ContentHandler to run the cgi. I am not using CGIRunner because It diidn´t work to me. My handler is something as: Code: function TContentDicom.Execute(aRequest: THttpRequest; aReply: THttpReply; Code: 'Content-type: image/gif'#$A'Access-Control-Allow-Origin: *'#$A#$A'GIF89a@'#1'@'#1'1222333444555666777888999:::;;;<<<===>>>???@@@AAABBBCCCDDDEEEFFFGGGHHHIIIJJJKKKLLLMMMNNNOOOPPPQQQRRRSSSTTTUUUVVVWWWXXXYYYZZZ[[[\\\]]]^^^___```aaabbbcccdddeeefffggghhhiiijjjkkklllmmmnnnooopppqqqrrrssstttuuuvvvwwwxxxyyyzzz{{{|||}}}~~~'#$7F#$7F#$7F'€€€'#$0081#$0081#$0081'‚‚‚ƒƒƒ„„„………†††‡‡‡ˆˆˆ‰‰‰ŠŠŠ‹‹‹ŒŒŒ'#$008D#$008D#$008D'ŽŽŽ'#$008F#$008F#$008F#$0090#$0090#$0090'‘‘‘’’’“““”””•••–––———˜˜˜™™™ššš›››œœœ'#$009D#$009D#$009D'žžžŸŸŸ ¡¡¡¢¢¢£££¤¤¤¥¥................. I need to send the image to a front end app in the browser. Code: <div> Here, getImage function takes the image from server, but not is showing, because I think the format I am returning the image from server to front end has something wrong. How could I fix the content text of the image on server to be a valid image in the front end? RE: How fix a raw text image gif to send to front end - Jose Nilton Pace - 10-07-2019 Hi, wihch version of iw are you using? |