This code does everything but save the image:

  https://github.com/noelwelsh/dct/blob/master/functional-test.rkt

HTH,
N.

On Mon, Apr 11, 2011 at 7:09 PM, Robby Findler
<ro...@eecs.northwestern.edu> wrote:
> On Mon, Apr 11, 2011 at 12:16 PM, geb a <ge...@yahoo.com> wrote:
>> Hello all,
>>
>> I'm having some trouble processing a block of pixels from an image. I want 
>> to grab some portion of image, do something to it, and save it to a file.  
>> In this example, I grab a portion of an image and save it to a file but the 
>> image in the file is corrupted.  Evidently I'm doing something wrong.  I've 
>> spent a number of hours trying to figure it out, but I'm blind to the 
>> problem.  I would be very grateful for any help someone can give me.

_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to