Creating ‘mask layers’ using PHP GD
Filed Under: Code, Geek | 1 comment- Start with original image - $img
- Copy that image to a png - $copy
- Create a mask png image of the area you want in the circle/ellipse (a 'magicpink' image with a black shape on it, with black set to the colour of alpha transparency) - $mask
- Copy $mask over the top of $copy maintaining the Alpha transparency
- Change what you need to on $copy
- Copy $copy back over $img maintaining the Alpha transparency
Hosting Headaches
Filed Under: Geek, Hardware | 2 comments
I’m looking at buying a VPS through Linode as soon as my job situation stabilizes.
Not really looking forward to porting my entire catalogue of sites, but the fact I am working at taking copies of all my sites from my current host down to my development server (once I get my internet reconnected at home) should make it
read onTools of the Trade
Filed Under: Code, Geek, Software | 2 commentsAs a developer/designer I spend far too much time trying to reconcile the differences between the Firefox and IE rendering engines. I’ve picked up a few habits that make it less painful, but until there is a Firebug for IE, it’s still a long painful process.
I’ve been using Aptana Studio as my PHP IDE for a long time now, and would love for it to have some live CSS editing abilities similar to Firebug
read onPrevious Posts
Filed Under: General, Life | no commentsI’ve decided to restrict access to the more personal areas of this journal - this is because the content covered in those areas is more intimate and I don’t really want that sort of information available in the wild. I’ll be leaving the geek-centric posts open, at least the ones that provide useful information for others …
If you feel you know me well enough, sign up for an account on this site
read onStability and Flexibility
Filed Under: Linux | 3 commentsWell, I’ve been using Ubuntu 7.10 (64-bit) at work for almost a month now. Even though I was already pretty experienced with Ubuntu before this, I have learned a lot since installing it as my day-to-day operating system at work. I’ve learned about wine and wine-doors, adding printers (Fuji-Xerox DocuCentre II C2200), and network interoperability.
I’ve also learned that even though Ubuntu is an outstanding operating system, there are still somethings you will need either a
read onWhy run Ubuntu on a G4 Mac?
Filed Under: Linux | 3 commentsThe real question is why not?. Especially if the Mac only had OS 9.2 on it, and that won't run at all.
read on