[RPG]Annotation merged with blank image

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
MegumiSawada
Posts: 268
Joined: Tue Feb 19, 2013 5:18 pm

[RPG]Annotation merged with blank image

Post by MegumiSawada »

Hi,

In case the image element is set with the following properties:
AllowChange:Yes
BlankImageResource:Portrait_Photo.png
Annotation.InPlaceEdit : True
Annotation.MergeWithImage : True

If you take no picture but write comment(annotation) only and try to save it, you can save the annotation merged with blank image.

Is there any way to avoid this? We would not like to save anything in that case(no pic but annotation done).

I appreciate your kind advice.

Best Regards,
Megumi Sawada
jasonzhou
Posts: 130
Joined: Wed Jan 11, 2017 3:26 pm

Re: [RPG]Annotation merged with blank image

Post by jasonzhou »

Could you please change BlankImageResource to Resource see if it works as expected? Thanks
MegumiSawada
Posts: 268
Joined: Tue Feb 19, 2013 5:18 pm

Re: [RPG]Annotation merged with blank image

Post by MegumiSawada »

Hi Jason,

Thank you for your reply.
I tried it but the result is not as expected.
The background image merged with annotation will be saved.

We would not like to save anything if no photo is taken.
Is there any way to achieve it?

Best Regards,
Megumi Sawada
jasonzhou
Posts: 130
Joined: Wed Jan 11, 2017 3:26 pm

Re: [RPG]Annotation merged with blank image

Post by jasonzhou »

Hi Megumi,

Are you using Android? I just tested on Android and see the annotation will merge with blank image.

If yes, we will make an enhancement for it. Could you please lodge an request to LANSA Support?

Thanks
Jason
MegumiSawada
Posts: 268
Joined: Tue Feb 19, 2013 5:18 pm

Re: [RPG]Annotation merged with blank image

Post by MegumiSawada »

Hi Jason,

No, Windows app.

What I mean is that if LongRange can detect if only annotation is done without taking a photo.
If no photo is taken but annotation is done, we would like to detect it and we would like to avoid saving it to IFS directory.
Is it possible to do that?

Best Regards,
Megumi Sawada
jasonzhou
Posts: 130
Joined: Wed Jan 11, 2017 3:26 pm

Re: [RPG]Annotation merged with blank image

Post by jasonzhou »

Hi Megumi,

We will make an enhancement for Windows version so that the annotation won't merge with blank image.

So when specifies BlankImageResource property and MergeWithImage property is True, the expected behavior will be:
  • No picture taken - only save annotation
  • Picture is taken - merge annotation with picture and save
Does this sound ok for you?

Thanks
Jason
Post Reply