{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreidn4wb5zkhejkkamhvga6h3cm2srr33mvm4e7agrybylsu3orro5u",
    "uri": "at://did:plc:i7budt2wflrcfy6jtvfocbix/app.bsky.feed.post/3mfu7vzbxavi2"
  },
  "path": "/viewtopic.php?p=1278291#p1278291",
  "publishedAt": "2026-02-27T14:24:21.000Z",
  "site": "https://www.tt-forums.net",
  "tags": [
    "https://www.tt-wiki.net/wiki/NMLTutorial/Graphic_files",
    "AskingForAFriend"
  ],
  "textContent": "hey,\ni'm a bloody beginner in newgrf-making and currently lost in code and my research and ai couldn't solve my problem.\ni have an image as attached with backgroundcolor #0000ff for transparency, as descriped on the NMLTutorial (https://www.tt-wiki.net/wiki/NMLTutorial/Graphic_files).\n\n\nthat's my code so far (simplified):\n\nCode:\n\n\n    grf { grfid: \"QD\\01\\01\"; name: string(STR_GRF_NAME); desc: string(STR_GRF_DESC); version: 1;min_compatible_version: 1;}template tmpl_static_tile() { [ 0, 0, 64, 31, -31, 0 ]}spriteset(set_l_tile_0, \"images/stdBlanc-Object_C0ZpthL000#00FF00.png\") { tmpl_static_tile() }spritelayout layout_l_tile_0 { ground { sprite: set_l_tile_0; } }item(FEAT_OBJECTS, obj_l_tile_rotierbar, 0x55) { property { class: \"F246\"; classname: string(STR_CLASS_BLANC); name: string(STR_OBJ_BLANCOBJECT);climates_available: bitmask(CLIMATE_TEMPERATE, CLIMATE_ARCTIC, CLIMATE_TROPICAL);introduction_date: date(1,1,1);object_flags: bitmask(OBJ_FLAG_ALLOW_BRIDGE); size: [1,1]; } graphics { default: layout_l_tile_0; }}\n\neverything's showing as supposed, except that the transparent parts are bugging (see attached file).\n\n\nfor compiling i used the command:\nC:\\Users\\\\...\\test>nmlc -c test.nml\n\ndo you have any suggestions on how to fix it or any more links, where i can read more about that issue?\nthx!\n\nStatistics: Posted by AskingForAFriend — 27 Feb 2026 14:24\n\n* * *",
  "title": "NewGRF Technical Discussions • apply transparency",
  "updatedAt": "2026-02-27T14:24:21.000Z"
}