Thursday, March 27, 2014

bbvi (vi stripped from busybox)

In 2003, Stefan Koerner stripped vi from busybox-0.52 and called it virus - vi resembling utility skeleton.
But it is unmaintained since then, so I do that again and called it "bbvi".
Hopefully I will do it every busybox minor number changes, and sync bbvi version to busybox version.

Source: bbvi-0.1.23.tar.gz

Monday, March 24, 2014

touch utlity (public domain version by myc01)

myc01's public domain touch utility is good, but I really hate the mandatory '--' switch, and not creating files (as a bug). So I hack it up and fixed these 2 issues.

Source+Binary: touch.7z

Friday, March 14, 2014

jpegstripper

dwing's ujpg is good, but it is not open-sourced, and ujpg will strip out Adobe APP14 marker from JPEG YCCK image, which is vital to those files.
So I wrote my own, modified from my own jpginfo.

Download source+binary: jpegstripper.zip

Changelog:
[20140316]
- print filename in error messages
- treat ncomp=3 without RGB compid as YCbCr
- add YCCK marker fixing switch "-y"

Thursday, March 13, 2014

jpginfo

When I tried to debug why mozjpeg jpegtran segfault with certain files, I have a look on libjpeg and nanojpeg source code, and write a JPEG information tool which returns image resolution, number of color components, color space, and file type.

Download source+binary: jpginfo.zip

Changelog:
[20140316]
- print filename in error messages
- treat ncomp=3 without RGB compid as YCbCr

Tuesday, March 11, 2014

vnc2flv-20100207 Win32 mingw-python-2.7 build

Compiled with Py2Exe/Python 2.7 MinGW build with a modified setup.py.
Download: vnc2flv-20100207-win32-mgwpy27.7z

Tuesday, March 4, 2014

XNU kernel built-in ISO font

After reading Ka-Ping Yee ISO Latin-1 Font in linux kernel, I converted the font to BDF for use.

But instead of using the patch he provided, I did conversion in my usual way:
- Add stub in iso_font.c so it writes font data binary array to binary file when runs.
- Use my raw2bdf-c_flip.php php CLI script from font2bdf-tools to convert raw binary font to BDF (The font data stored in iso_font.c is in flipped form)
- ???
- profit!

Download: xnu_iso_font.7z

And there is other converted font in BDF or TrueType form in my Font Drop.