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

  • RISC OS artist wows public with digital artwork
    A RISC OS-using artist has described exhibiting his digitally-created work in a public gallery as a "rewarding experience". Richard Ashbery, who used ArtWorks and Photodesk to create his images, showed off patterns and colourful illustrations to punters, who told him his work made a change from the oils and watercolour masterpieces usually exhibited.
     1 comment, latest by socris on 18/11/08 4:23PM. Published: 17 Nov 2008

  • Random article

  • South East show 2005 photos
    A fairly laid back event
     22 comments, latest by mark101 on 26/10/05 7:15PM. Published: 22 Oct 2005

  • Useful links

    News and media:
    IconbarMyRISCOSArcSiteRISCOScodeANSC.S.A.AnnounceArchiveQercusRiscWorldDrag'n'DropGAG-News

    Top developers:
    RISCOS LtdRISC OS OpenMW SoftwareR-CompAdvantage SixVirtualAcorn

    Dealers:
    CJE MicrosAPDLCastlea4X-AmpleLiquid SiliconWebmonster

    Usergroups:
    WROCCRONENKACCIRUGSASAUGROUGOLRONWUGMUGWAUGGAGRISCOS.be

    Useful:
    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
    "Leaking tit bits creates rumours, confusion and often mangles facts"
    Page generated in 0.0549 seconds.