Page 1 of 1

I want to eliminate 'km' and decimal point from distance object in Bip

Posted: 17 Feb 2019, 15:17
by asadulhuq
I want to eliminate 'km' and decimal point from the Distance object code. Please see the following code segment for distance object implementation -

"Distance": {
"Number": {
"TopLeftX": 54,
"TopLeftY": 153,
"BottomRightX": 174,
"BottomRightY": 168,
"Alignment": "TopRight",
"Spacing": 2,
"ImageIndex": 13,
"ImagesCount": 10
},
"SuffixImageIndex": 231, // I want to remove this but get error message regarding brackets
"DecimalPointImageIndex": 232 // I want to remove this but get error message regarding brackets
}
},
"Weather": {

Any hint regarding how to do this would be greatly appreciated. Thanks.

Re: I want to eliminate 'km' and decimal point from distance object in Bip

Posted: 18 Feb 2019, 01:37
by TXK
Replace 231, 232 with a (1 X 1) pixel PNG image with a transparent background

by the way:

DecimalPoint eliminate????? emmmm~~~ I don't think it's appropriate.

Re: I want to eliminate 'km' and decimal point from distance object in Bip

Posted: 18 Feb 2019, 03:09
by asadulhuq
Thanks. However, I cannot turn the default km png (231, 232) image into a transparent images. Would you please tell me how to do that with paint? Thanks in advance.

Re: I want to eliminate 'km' and decimal point from distance object in Bip

Posted: 18 Feb 2019, 06:03
by GIK-Team
[mention]asadulhuq[/mention] https://www.getpaint.net