How to save signature without background transparanting
Posted: Fri Jun 30, 2023 11:36 am
Hi All,
I'm developping an application to save the captured signature to IFS.
When saving the signature to IFS, the file will be saved as PNG file and the background will be automatically transparent.
I would like to save it without background tranparanting.Is there any way to do so?
I tried to save it as JPG file but it was still saved with transparent background.
Web page
Server module
Best Regards,
Megumi Sawada
I'm developping an application to save the captured signature to IFS.
When saving the signature to IFS, the file will be saved as PNG file and the background will be automatically transparent.
I would like to save it without background tranparanting.Is there any way to do so?
I tried to save it as JPG file but it was still saved with transparent background.
Web page
Code: Select all
Define_Com Class(#PRIM_WEB.Signature) Name(#Signature) Displayposition(1) Parent(#COM_OWNER) Tabposition(1) Tabstop(False) Height(664) Width(669) Top(44) Left(4)
Evtroutine Handling(#Button1.Click)
Define_Com Class(#SVRM01.SaveFile) Name(#SaveFile)
#Image.FileName := #Signature.Blob
#SaveFile.Execute Std_Blob(#Signature.Blob)
EndroutineCode: Select all
#FileName := *PART_DIR_OBJECT + #FileName
Use Builtin(OV_FILE_SERVICE) With_Args(COPY_FILE #STD_BLOB.FileName #FileName) To_Get(#ReturnCode)Megumi Sawada