1. 15 Jan, 2014 1 commit
    • Robert Sprowson's avatar
      Flag unrecognised critical tags, but allow ancilliary tags between IDAT and IEND · fd01e328
      Robert Sprowson authored
      PNG spec 1.2, section 4.3, turns out tIME iTXt tEXt zTXt have no ordering constraints. Images with these after the IDATs but before IEND were being rejected, plus it's possible to encounter private ancilliary chunks - so it's safest just to let them all through.
      Unexpected critical chunks are now explicitly faulted.
      Version 1.46. Tagged as 'ChangeFSI-1_46'
  2. 11 Jan, 2014 1 commit
    • Robert Sprowson's avatar
      Minor fixes · bd8086c1
      Robert Sprowson authored
      Having selected JPEG output format, you'd get an error clicking on one of the radio icons on the sprite output format window.
      Look for BZERO and BSCALE in FITS astronomical image files, rather than subtracting a hardwired 0x8000 - this tended to result in any 16bpp images coming out solid green.
      Mirror the FITS image output in the X axis so they're the right way up.
      Version 1.45. Tagged as 'ChangeFSI-1_45'
  3. 08 Jan, 2014 3 commits
    • Robert Sprowson's avatar
      Add WBMP reading ability · ab4eef8c
      Robert Sprowson authored
      From reading WAP WAE 1.1 spec, tested with some sample images from the internet.
      Test image added to 'tests' directory for reference.
      Version 1.44. Tagged as 'ChangeFSI-1_44'
    • Robert Sprowson's avatar
      Add PNG reading ability · 30964e0b
      Robert Sprowson authored
      Also increased the minimum work area of the uutput window so the up/down adjusters don't get squashed with very small images.
      Tested with 174 test PNGs from the PNG test suite.
      Version 1.43. Tagged as 'ChangeFSI-1_43'
    • Robert Sprowson's avatar
      Fix for prevalent 'Outside file' errors · 59019698
      Robert Sprowson authored
      With small image files ChangeFSI would often report 'Outside file' as its detection code tried to read from around offset 512 within the file - often longer than the image itself. The extent is now checked before attempting to look for signatures that far in.
      Other minor changes:
      * Removed the need to pass a block of scratch memory to PROCcachesize
      * Command line use is in 'CmdBasUse' not 'FSIinfo' within the docs
      * Moved flag 666 image parser up into numerical order
      * Don't pass an argument to SWI Hourglass_On
      * Inline FNfits
      * Make the uniform palette function more general rather than hardwired for 256 entries
      Tested briefly, still works.
      Version 1.42. Tagged as 'ChangeFSI-1_42'
  4. 12 Dec, 2013 1 commit
    • Robert Sprowson's avatar
      Fix for unaligned load processing 48 bit image data · 37d93803
      Robert Sprowson authored
      In mappix (2 occurrences) for 48 bit data when step24=6 ChangeFSI relied on the unaligned load rotate, this is now split out for machines that can't do that.
      Don't bother looking for jcompmod in ChangeFSI$Dir - it's never been supplied there.
      Line 6934: fix stack imbalance.
      Rehomed a few comments with the lines to which they refer, added a few comments.
      Built, but not tested.
      Version 1.41. Tagged as 'ChangeFSI-1_41'
  5. 11 Aug, 2013 1 commit
    • Jeffrey Lee's avatar
      Fix low colour output · a212eba0
      Jeffrey Lee authored
        source/ChangeFSI - Fixed a couple of issues that could prevent low colour (i.e. <=256) output from working in some situations:
        - Fixed bug in default palette reading code that would cause it to try and allocate silly amounts of memory depending on the current mode (e.g. FNdim of 0 bytes if loading 16 colour palette while in 32bpp mode)
        - Reworked colour conversion code so that the pixel index and image base pointer are in two seperate registers instead of being in one. The old code had a habit of failing with an "image too complex" error when producing <256 colour output, because (base%<<(3-dest_log2bpp)) could easily overflow a 32bit int, especially when you consider that a dynamic area is used to store the target image.
        Tested on RISC OS 5.21 Iyonix, converting a test image to all the different output colour depths & "special" modes.
      Version 1.40. Tagged as 'ChangeFSI-1_40'
  6. 15 Jul, 2013 1 commit
    • Robert Sprowson's avatar
      Add support for local colour tables in GIFs · 9146f67e
      Robert Sprowson authored
      ChangeFSI previously only supported global colour tables, but will now look at the local colour table bit too.
      Additionally, the info report was looking at the wrong bitfield when describing the log2bpp - always showing 8 (because it was showing the colour table size).
      Version 1.39. Tagged as 'ChangeFSI-1_39'
  7. 28 Oct, 2012 1 commit
    • Robert Sprowson's avatar
      Add interactive help to ChangeFSI · 45d13432
      Robert Sprowson authored
       * Trim out some redundant statements in FNdeducemode which look to have been used when JPEG was in the sprite output dialogue
       * Likewise, fix keyboard navigation in sprite output dialogue to not try to go via the (non existant) JPEG quality writeable
       * Add 'smoothing' to keyboard navigable writeables in processing dialogue
       * Bump up version number reported in Wimp_Initialise to allow interactive help messages on menus to be passed
       * Uncapitalise iconbar menu second words
      Version 1.37. Tagged as 'ChangeFSI-1_37'
  8. 27 Oct, 2012 2 commits