News

darkUnicode codec for Delphi

Author: Craig Chapman Another library to drop out of my Dark Glass development project today is my unicode codec (now named darkUnicode). https://github.com/chapmanworld/darkUnicode This simple class can be used to encode and decode unicode code-points by hand (independent of RTL functions to do the same), and I’ve used it previously to create my own unicode text buffer and stream…
Read more
News

Media file meta-data on Windows in Delphi.

Author: Craig Chapman Here’s a littleDéjà vu for regular readers of my blog. One of my customers emailed me with an interesting problem this morning. “I need to be able to peek into a video file, specifically a .mp4 file, and determine if it’s PAL or…
News

Media file meta-data on Android in Delphi.

Author: Craig Chapman One of my customers emailed me with an interesting problem this morning. “I need to be able to peek into a video file, specifically a .mp4 file, and determine if it’s PAL or NTSC.” This seemed like a fun challenge, so I thought I’d write a helper class to solve it.. The Problem Ultimately, what determines if an image or video conforms to PAL or NTSC is a combination…
Read more
News

Delphi Xlib headers

Author: Craig Chapman Back in November for CodeRage-12, I demonstrated a partial translation of the Xlib headers for X11. At that time I explained that I’d not completed the headers, but would notify on my blog when I had. Well, I’ve just done a major update to those…
News

The Ultimate Developer Keyboard?

Author: Craig Chapman I never really thought of my keyboard as an important accessory, but rather, as that essential item that you buy for the cheapest price possible and be done with. I mean, a keyboard is a keyboard right? Well, I discovered that your choice of keyboard…