Possible to switch RAM out of old Titanium PB into a G4 iMac (2003-ish)?

I have two computers. I want to know if it's possible to take the RAM chip out of one and put it into the other.
The "donor" computer is an old Titanium Powerbook G4. It has a 128mb SDRAM chip built in, and a 256 SDRAM that was added later.
The "recipient" computer is a 2003-ish era iMac G4 (the kind with the white hemispheric base and the flexible flat-panel screen attached).
Will it be possible to take that 256mb chip out of the Titanium PB and put it into the iMac G4? Or is it the wrong kind/size/whatever kind of chip? Needless to say, I would follow all the proper instructions and procedures for doing so, if I were to do it.
The reason for this, not that it's important, is that the Titanium PB is just about shot, and it ready to be parted out -- it has a plethora of serious defects and problems that just aren't worth it to fix. The iMac is nice and working fine, but only has 128 RAM at the moment. Thought I might as well cannibalize the Titanium while I can before selling it.
Titanium PowerBook   Mac OS X (10.4.2)  


Ooops, sorry, I posted this in the wrong iMac forum. I thought I was in the older iMac forum -- this is the new iMac forum.
I reposted the question over there in the proper place. Ignore this question, and/or delete it if you're an admin.