Drobe :: The archives
About Drobe | Contact | RSS | Twitter | Tech docs | Downloads | BBC Micro

Reply to thread

In reply to murkle:

REM Change these 3 lines as appropriate... in_file$="$.insertlog": REM source file path out_file$="RAM:$.sprites": REM destination file path out_type% = &ff9 : REM target file type

SYS "OS_File",20,in_file$ TO in_obj%,,,,in_size%,,in_type% IF in_obj%<>1 THEN SYS "OS_File",19,in_file$,in_obj% DIM in_mem% in_size% SYS "OS_File",255,in_file$,in_mem%,0 SYS "ImageFileConvert_Convert",0,out_type% OR in_type%<<16,in_mem%,in_size%,0,0,-1 TO ,,,,,out_size% IF out_size% = -1 THEN out_size%=10240:REM if output size unknown DIM out_mem% out_size% SYS "ImageFileConvert_Convert",0,out_type% OR in_type%<<16,in_mem%,in_size%,out_mem%,out_size%,-1 SYS "OS_File",10,out_file$,out_type%,,out_mem%,out_mem%+out_size%

 is a RISC OS Userthesnark on 11/7/04 1:18PM
[ Reply | Permalink | Report ]

Please login before posting a comment. Use the form on the right to do so or create a free account.

Search the archives

Today's featured article

  • Archive magazine reviewed
    A media watch special
     10 comments, latest by diomus on 27/10/07 12:01PM. Published: 23 Oct 2007

  • Random article

  • Argogroup receives $20m in venture capital funding

     Discuss this. Published: 1 Nov 2000

  • Useful links

    News and media:

    Top developers:
    RISCOS LtdRISC OS OpenMW SoftwareR-CompAdvantage SixVirtualAcorn

    CJE MicrosAPDLCastlea4X-AmpleLiquid SiliconWebmonster


    RISCOS.org.ukRISCOS.orgRISCOS.infoFilebaseChris Why's Acorn/RISC OS collectionNetSurf

    Non-RISC OS:
    The RegisterThe InquirerApple InsiderBBC NewsSky NewsGoogle Newsxkcddiodesign

    © 1999-2009 The Drobe Team. Some rights reserved, click here for more information
    Powered by MiniDrobeCMS, based on J4U | Statistics
    "Your fellow contributor to Drobe seems to have a personal dislike of anything that does not come from Castle"
    Page generated in 0.0584 seconds.