The iMac isn't 10.4 the version Mac OS X is 10.4. You could easily upgrade to 10.5 if you can get a install DVD. You might be able to buy one online. If the iMac is PPC that is as far as you can go, if it is Intel then you could just go get a 10.6 disk.