You are not logged in.
Pages: 1
Database server
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;
Pages: 1