@jismy:
You haven't posted a link above, but I believe the site you referred to in the previous thread (which seems to have disappeared) was this:
http://students.iitk.ac.in/projects/steganographyThis seems to have been a project undertaken by students at the Indian Institute of Technology, Kanpur.
They ended-up using Python (not Java).
The project summary does not state what encoding technique they actually used, but there must be some sort of group-encoding used, perhaps BPCS (see
http://en.wikipedia.org/wiki/BPCS-Steganography). They also used re-scaling to help squeeze the "hidden" image into the carrier image.
Implementing BPCS is not a trivial exercise - there would be a considerable amount of work involved.
(There is a BCPS steganography program for Windows available here:
http://datahide.org/BPCSe/QtechHV-program-e.html)
Why do you need the code as Gimp plugin (rather than a standalone program, run under Windows or Linux)?
And why does it have to be written in Python?
(There is already a Gimp C plugin available to do LSB encoding here
http://registry.gimp.org/node/25988) which does work (at least on small images, though I think there may be a problem with larger images).