Hi,
I believe the background of the annotation is transparent when saving signature by using EZISERVICE.
Is there any way to save signature(annotation) with background white for example(not transparent)?
I appreciate your kind advice.
Best Regards,
Megumi Sawada
[RPG]background when saving annotation
-
MarkDuignan
- Posts: 346
- Joined: Wed Apr 18, 2012 10:33 am
Re: [RPG]background when saving annotation
Could you please post a screen shot of the transparency issue so that I can understand the context?
-
MegumiSawada
- Posts: 268
- Joined: Tue Feb 19, 2013 5:18 pm
Re: [RPG]background when saving annotation
screen shots are attached:
I think the background of signature is transparent in signature.png.
I would like to save the sign like signature2.png.
I think the background of signature is transparent in signature.png.
I would like to save the sign like signature2.png.
- Attachments
-
- image.jpg (29.09 KiB) Viewed 5518 times
-
- signature.png (20.34 KiB) Viewed 5518 times
-
- signature2.png (24.94 KiB) Viewed 5518 times
-
MarkDuignan
- Posts: 346
- Joined: Wed Apr 18, 2012 10:33 am
Re: [RPG]background when saving annotation
The EZI code handling the signature request is LRNG_PROJ/QRPGLESRC member EZISRVSIGN.
It sets the property Annotation.MergewithImage to False so that only the signature is saved, not the background image.
There is currently no EZI option to change this.
You could change your own custom version of EZISERVICE - or we can do it for you and give you an updated LRNG_PROJ library.
It sets the property Annotation.MergewithImage to False so that only the signature is saved, not the background image.
There is currently no EZI option to change this.
You could change your own custom version of EZISERVICE - or we can do it for you and give you an updated LRNG_PROJ library.
- Attachments
-
- Capture.PNG (11.02 KiB) Viewed 5512 times
-
MarkDuignan
- Posts: 346
- Joined: Wed Apr 18, 2012 10:33 am
Re: [RPG]background when saving annotation
Alternatively - after doing the EZI_SetupSignature call to EZI in your RPG program you could do a LRNG_SetProperty to override Annotation.MergewithImage property to true.
-
MegumiSawada
- Posts: 268
- Joined: Tue Feb 19, 2013 5:18 pm
Re: [RPG]background when saving annotation
Thank you, Mark.
Do you mean in your reply "background " is PleaseSignHere.png?
I would like to save only signature without merging it with PleaseSignHere.png, but with white background.
(Still I would like to show that signature wit PleaseSignHere.png background on screen,though)
Is it possible somehow?
Best Regards,
Megumi
Do you mean in your reply "background " is PleaseSignHere.png?
I would like to save only signature without merging it with PleaseSignHere.png, but with white background.
(Still I would like to show that signature wit PleaseSignHere.png background on screen,though)
Is it possible somehow?
Best Regards,
Megumi
-
MarkDuignan
- Posts: 346
- Joined: Wed Apr 18, 2012 10:33 am
Re: [RPG]background when saving annotation
Try this .........
Locate <axesroot>\LongRange\resource\PleaseSignHere.png
Copy to make new file <axesroot>\LongRange\resource\WhitePleaseSignHere.png (or some other name).
Use PAINT to change WhitePleaseSignHere.png to have a white background. Save the updated image.
Very important - > Use WRKLNK to check that WhitePleaseSignHere.png has *R (and only *R) authority for user *PUBLIC.
If the authority is wrong it can be very confusing because the new image will not be served by aXes.
Change EZI set up call to specify WhitePleaseSignHere.png as the background image to be used.
That should show the white background behind the signature but not save it as part of the signature.
Locate <axesroot>\LongRange\resource\PleaseSignHere.png
Copy to make new file <axesroot>\LongRange\resource\WhitePleaseSignHere.png (or some other name).
Use PAINT to change WhitePleaseSignHere.png to have a white background. Save the updated image.
Very important - > Use WRKLNK to check that WhitePleaseSignHere.png has *R (and only *R) authority for user *PUBLIC.
If the authority is wrong it can be very confusing because the new image will not be served by aXes.
Change EZI set up call to specify WhitePleaseSignHere.png as the background image to be used.
That should show the white background behind the signature but not save it as part of the signature.