Search the Community
Showing results for tags 'stream'.
-
Good morning everyone!! I've been stuck trying to convert a binary to PDF file but i didn't really get into anything. The reports i'm trying to show are saved as a binary type, i'm trying to process them to show them but the uniGUI PDF viewer component doesn't load files from stream. A workaround i think could work is saving the file then access it with the FilesFolderURL property, but i dont know if it is possible to do that. does anyone has done something like that? Thank you.
-
Hi everybody, I want to resize an image if the width is greater than 1000 pix and if it is i want to resize it. I'm using fileupload and loading the file to an imagecontrol and then i'm checking if the width is greater than 1000 pix, so far so good but i can't seem to find a resize function for the imagecontrol? Code below shows want i'm trying to do imgtest.LoadFromStream(AStream); if imgtest.Picture.Width > 1000 then begin // ShowMessage('bigger than 1000'); I want to change the size before i save it to destName imgtest.Picture.SaveToFile(destName); end;
- 4 replies
-
- image
- fileupload
-
(and 2 more)
Tagged with: