Hi,
Our customer would like to save a signature as jpg format,not png.
Using set_Image method with Newimage_Format(jpg) & Save_Annotation method doesn't save the signature file as jpg format, just the extention is "jpg".
I have found the following topics:
http://longrange.lansa.com.au/viewtopic ... =310&p=830
Is this enhancement added yet?
Best Regards,
Megumi Sawada
Save a signature as jpg format
-
tsupartono
- Posts: 289
- Joined: Wed Apr 18, 2012 10:21 am
Re: Save a signature as jpg format
Don't save the annotation image, instead save the merged image (use Save_Image method).
The annotation image contains just the annotation, whereas the merged image contains both the annotations and the main image (in the case of signature capture, the main image is blank).
The annotation images are always saved as PNG because they have transparent background (which JPEG doesn't support).
You'd need to specify that the annotation should be merged with the main image - Annotate_MergeWthImg (Y)
Specify new image format as JPG - NewImage_Format(JPG).
The annotation image contains just the annotation, whereas the merged image contains both the annotations and the main image (in the case of signature capture, the main image is blank).
The annotation images are always saved as PNG because they have transparent background (which JPEG doesn't support).
You'd need to specify that the annotation should be merged with the main image - Annotate_MergeWthImg (Y)
Specify new image format as JPG - NewImage_Format(JPG).
-
MegumiSawada
- Posts: 268
- Joined: Tue Feb 19, 2013 5:18 pm
Re: Save a signature as jpg format
Hi Tony,
Thank you!
Best Regards,
Megumi
Thank you!
Best Regards,
Megumi
-
MegumiSawada
- Posts: 268
- Joined: Tue Feb 19, 2013 5:18 pm
Re: Save a signature as jpg format
Hi Tony,
I have tried it but the created jpg file is actually png format.
#Com_Owner.Set_Image method with Annotate_Mergewthimg(True) Newimage_Format(jpg)
and
#COM_OWNER.Save_Image Name(IMAGE_1_ELEMENT) Filename(#uImageFile)
I have used data format inspecter like "WinExChange".
http://www.vector.co.jp/download/file/w ... 24676.html
Is there any way to save signature in real jpg format?
Best Regards,
Megumi Sawada
I have tried it but the created jpg file is actually png format.
#Com_Owner.Set_Image method with Annotate_Mergewthimg(True) Newimage_Format(jpg)
and
#COM_OWNER.Save_Image Name(IMAGE_1_ELEMENT) Filename(#uImageFile)
I have used data format inspecter like "WinExChange".
http://www.vector.co.jp/download/file/w ... 24676.html
Is there any way to save signature in real jpg format?
Best Regards,
Megumi Sawada
-
tsupartono
- Posts: 289
- Joined: Wed Apr 18, 2012 10:21 am
Re: Save a signature as jpg format
Hi Megumi,
We need to verify that this is indeed the case.
Can you please log a support call with LANSA Support and provide your RDMLX source code?
Thanks.
We need to verify that this is indeed the case.
Can you please log a support call with LANSA Support and provide your RDMLX source code?
Thanks.