RSS Feed c9 logo Australia's best motorcycle shop retail software
Release 5.2.47 November 21, 2022 barney

Tweaks and fixes

  • Recent Unit stock take report changes : got new/used unit sections labelled incorrectly. Now fixed
  • A4 Deposit Receipts : would not print deposit amounts of 100k or over. Now fixed
  • Modify txn date, would not let you modify txns connected to issued giftcards. Now fixed
  • Couple more expense GL codes:  water and utilities

OEM Image encoding

This version of c9 replaces an internal library used to saving OEM fiche diagrams. Previous library in c9 is ancient, pre-2000 and it contains some code that is suddenly problematic for most recent versions of java in that it calls a function deep in java that is nowdays consider unsafe (in terms of reliable operation of java) and latest java version now refuse to allow that function to run.  Looked at patching the library to minimise change risks but too hard to source and recompile the original library. So instead have replaced it with something newer.

One upside is that OEM images encoded from now will be even more space efficient.

Sample image, 1045x1600 resolution

New library: 38k
Prior library: 43k
Std built in java img encode: 54k
Naive grayscale encoding: 53k
Naive RGB: 75k
Naive jpeg encoding (80%): 146k

Alot of work goes into processing images for c9 OEM to balance how images look and how much storage they require. C9 automatically clips, resizes, and auto contrast balances images to try and achieve a maximal result.  Side by side image comparison of an EPC image from and older version of c9 compared to recent version to illustrate: