BaseBitmap, get name or path?



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 27/06/2012 at 10:58, xxxxxxxx wrote:

    Hy there,

    if I have a BaseBitmap, how can I figure out the name or the path of the underlying bitmap?

    Thank you,
    maxx



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 09/08/2012 at 07:25, xxxxxxxx wrote:

    The file name or path of bitmaps isn't stored.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 09/08/2012 at 07:52, xxxxxxxx wrote:

    You would find the list of the docs texture paths in GetAllTextures().
    So print MyFilename in GetAllTextures(), and you'll get the path.
    If the path is relative you'd need to search thru the default paths,
    doc hierarchy, the GetGlobalTexturePath(fn) etc. to capture the absolute path.

    Cheers
    Lennart



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 13/08/2012 at 09:33, xxxxxxxx wrote:

    Thank you Yannick and Lennart!

    Cheers,
    maxx


Log in to reply