Imaging in Mac OS X

I wasn’t sure if Vampyre Imaging Library works right in Mac OS X until few weeks ago. One poster in Imaging’s forum wrote a post about scrambled images produced by the library on Mac OS X. Fortunately, the problem was related only to Lazarus LCL support – all other functionality worked fine.

After not so straightforward installation of Mac OS X in VMWare I fixed the issue just by changing number “24” to “32” in the code (TRawImage.Description.Depth field, LCL raw image to TBitmap conversion). Apparently, Carbon created bitmap with 6 bits per color channel. Now I just need to check if 24->32 change doesn’t break anything when using other LCL widget sets (I’m sure there was a reason for 24bits since I vaguely remember 32bits were there few years ago) – so maybe conditional compilation will be needed here.

Another issue I noticed is that LCL Imager demo couldn’t load default image (Tigers.jpg) that is displayed when it is started without parameters. Demo uses relative path to the image but (from Demos/Bin to Demos/Data directory). Mac OS X application LCLImager.app is placed in Demos/Bin directory by Lazarus but it is not a simple single file. It’s a directory itself and actual demo executable is located somewhere inside. I’ve not really decided on solution yet. Maybe embed the image in the executable as resource?

See the difference?

See the difference?

Imaging 0.26.2 released!

My Vampyre Imaging Library was updated to version 0.26.2 few days ago. This was mostly fix/patch/update release with no significant new features.

I decided to remove Kylix support (CLX graphic classes, project files, build scripts, core library still compiles). It's not working properly on many (all?) current Linux distros (so I can't test) and it was abandoned by Borland/Codegear quite some time ago. It was nice to have DCC compiler in Linux and it also made Borland to make Delphi RTL crossplatform. There are rumors about crosscompiling features in upcoming Delphi releases (in 2010?)  so maybe we'll see DCC in Linux again.

Instead of Kylix project files there are new ones for Delphi 2009. Imaging itself didn't require many fixes to compile and work with Delphi 2009,  most of them were related to text-based file format loaders (XMP, PNM) and external libraries (JpegLib, ZLib).

More info and downloads at Imaging's homepage.

Some News

Vampyre Imaging Library 0.26.0 was finally released few days ago. There are many canvas enhancements and support for 3Dc compressed formats. More info and downloads at project's homepage: http://imaginglib.sourceforge.net.

I'm planning revamping this whole site. Maybe creating some sort of simple CMS myself or just some better way to handle the projects. I don't enjoy coding in PHP but there's not much choice.

An Update

There has been no news for quite some time. This will change! Or maybe not.

Imaging 0.24.2 patch will hopefully be released soon (waiting for Lazarus 0.9.24 since there is LCL change that breaks Imaging's LCL support for older Lazaruses). More about new Imaging can be found at its homepage. I also plan to release OpenJPEG (JPEG 2000 library) for Pascal independent on Imaging for those who just want JPEG 2000 for their programs.

I will (have to) start working on my Master's thesis in very near future so you may expect some demos soon (terrain rendering stuff again).

Imaging 0.24.0 Released!

Version 0.24.0 of Imaging has been released!
Main news/changes in 0.24.0:

  • New image file format support: GIF (native), TIFF (libtiff), PSD (native).
  • New image data format: BTC (block truncation coding).
  • File format compatibility fixes (for BMP, JPEG, and DDS)
    and platform/compiler support fixes (Win64, UNIX, FPC, ...).
  • Bug fixes and some enhancements (buffered file IO, ...).

Visit Vampyre Imaging Library Homepage for more news and downloads or Imaging Forum.

UFO: Extraterrestrials Released

The game I have been working on for Chaos Concept was finally released. If you liked old XCOM games you may like this one as well. It has geoscape mode with base building, research, UFO interceptions, etc. and turn based tactical missions just like in XCOM.

UFO: Extraterrestrials homepage:
http://www.ufo-extraterrestrials.com.
UFO at Gamers Gate (digital download for EU and rest of the globe except North America): Gamers Gate UFO page.
UFO at Matrix Games (digital download for North America): Matrix Games UFO page.

Boxed version will be available in few weeks.
Now working on first patch...
UFO: ET