• Administrator
  •  
    Support Ukraine
    If you experience any problems with the forum (it is not visible, there is no way to post messages, or some functionality does not work), please let us know. If you have problems with registration or you did not receive confirmation letter, let us know and we will activate your account manually.
    If you get an "The submitted form was invalid. Try submitting again" error, delete cookies, then try again.
     

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

Archive closed topics

Moderators: Internal error, Watchmens

Locked
asadulhuq
WF maker
Posts: 24
Joined: 06 Jun 2018, 16:40
Location: Dhaka
Contact:

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

Post 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.
User avatar
TXK
Posts: 299
Joined: 10 Apr 2018, 05:15
Location: china
Has thanked: 149 times
Been thanked: 97 times
Contact:

Post 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.
asadulhuq
WF maker
Posts: 24
Joined: 06 Jun 2018, 16:40
Location: Dhaka
Contact:

Post 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.
User avatar
GIK-Team
root
Posts: 1019
Joined: 22 Mar 2018, 10:00
Location: Ukraine
Has thanked: 1137 times
Been thanked: 275 times
Contact:

Post by GIK-Team »

[mention]asadulhuq[/mention] https://www.getpaint.net
"sometimes it's scary but it's still just you and me” — Leaving Laurel
Locked

Return to “Closed topics”

Who is online

Users browsing this forum: No registered users and 2 guests