You are not logged in.
Pages: 1
Am using following code to upload JPEG images in delphi.
But am not able to upload tif image. Can u pls give solution to upload tif images
procedure TfrmBarjeelImageScan.btnshowClick(Sender: TObject);
Var  JpegImage : TJpegImage;
begin
  if Trim(edtFileName.Text)= '' then
  begin
   ShowMessage('JPEG Image File not Selected');
   Exit;
  end
  else
  begin
   Image1.Picture.LoadFromFile(Trim(edtFileName.Text));
   JpegImage := TJpegImage.Create;
   try
    JpegImage.Assign(Image1.Picture.Graphic);
    Image1.Picture.Bitmap.Assign(JpegImage);
   finally
   end;
    FreeAndNil(JpegImage);
 end;
End;Offline
I do not see any difference between uploading a TIFF and a JPEG, from the SOA point of view.
Both are binary blobs.
But perhaps "upload" is not the right term.
"Upload" means remote sending of some data (here a picture) from a client to a server.
Is it what you mean?
Offline
What do you call a "server"?
A "database server"?
Or a "REST server"?
In mORMot context, we usually speak of REST server, not database server, which is itself called - by accident - from the REST server.
Offline
Database server
Offline
Pages: 1