PrivateEye 3.20 has StrongHelp
PrivateEye 3.20 is now available. PrivateEye is a viewer for Sprites, DrawFiles, JPEGs, ArtWorks, GIFs and PNGs. It also has editing features including bitmap effects and rotation. It runs on RISC OS.
Here’s a screenshot of it running in RISC OS 4 via RPCEmu:
Version 3.20 has had quite a few changes. The main thrust of the work has been to reduce the reliance on the Tinct module, that’s used to render alpha channel sprites, and to replace the PDF format user guide with a StrongHelp one. I’ll break the changes down into sections:
User Guide
- To make it quicker and more convenient to read, the user guide has been converted into StrongHelp from its previous PDF format. It now lives inside the app itself rather than being a separate download. This does however make the app about 350K larger.
- The icon bar menu gains a “Help” menu entry to open up the user guide and the Filer’s “Help” menu entry will launch it too.
Viewer
- When in “Fit to screen” mode the viewer windows now draw a paper document style backdrop behind images (see screenshot above). Its redraw technique is optimised to minimise any flicker.
Sprites
- RISC OS 5.21’s extended format sprites are now used wherever possible, e.g. when loading PNGs containing alpha channels on RISC OS 5. This avoids the need to use the Tinct module which, while having provided great service for many years, is now unmaintained.
- The chequerboard drawing code, used to indicate alpha channel transparency, was made common across all viewer windows. It now uses the PlotTiledSprite SpriteOp where available, in preference to Tinct’s equivalent.
- The sprite alpha channel detector now treats both “all 0” and “all 255” for alpha values as indicating no alpha.
Image Info
- Sprite alpha channels and alpha masks are now identified in the image info window.
- Note on terminology: “Alpha channels” have alpha data inline amongst the pixels. This is the format that third party RISC OS applications used for years, including Tinct. “Alpha masks” have alpha data stored separately in the mask: a newer standard that RISC OS Select established. It’s theoretically possible, but meaningless, to have both present in the same sprite.
- A “Format” field was added to the image info window. For sprites this shows the screen mode of the display sprite and which OS versions it’s compatible with.
- The image info window’s “Colours” field now shows when CMYK format sprites are detected.
- The image info window’s “Dimensions” field shows centimetres in addition to inches.
Cache
- The cache was rewritten to cope better in low memory situations. All open images are now requested through the cache. There’s now a limit of 128 entries in the cache (= total open images). If this is a problem then set “cache.entries” to a larger value in Choices.
- The cache size value in Choices is now shown in MBytes.
Misc
- The icon bar’s height is now read from the OS rather than being assumed, just in case it ever changes.
Fixes
- Edits performed in “Fit to screen” will now refresh just the image area, not the whole window.
- Zoom-to-point (Shift-Click) now works correctly when in “Fit to screen” mode.
Scale > Fit to screen
now respects the cover icon bar flag.- Sprites which error when rendering will now, like JPEGs, draw the error message to the viewer window rather than causing a crash.
PrivateEye is freeware.
It’s available to install via PackMan, or directly from this download link:
http://www.davespace.co.uk/software/privateeye320-6.zip (840K Zip)
If you want to contribute its source code is hosted on github:
https://github.com/dpt/PrivateEye
And you can raise issues or enhancement requests here:
https://github.com/dpt/PrivateEye/issues