On Thu, Sep 3, 2009 at 9:05 AM, Jojo Mwebaze<jojo.mweb...@gmail.com> wrote: > Hello Tutor > > I am writing Class to provide data transfer between the server and client > processes based on simple HTTP GET/POST operations. However my interest is a > sub-image (section of a full image). i am requesting help on how to read and > transmit/send only section of the image (sub-image). i also prefer read the > bytes (of the subimage) off the disk, without opening the file into memory! > > The images i work with are of type FITS.
I don't know much about FITS but my guess is you will have to read the image into memory, create a new image with the sub-image you want, then send the sub-image to the server. PyFITS looks like a good place to start... http://www.stsci.edu/resources/software_hardware/pyfits/ Kent _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor