[racket] FW: Dr. Racket Border Problem

From: geb a (geb_a at yahoo.com)
Date: Mon Apr 25 13:13:26 EDT 2011

I believe this might classify as a bug.  We are trying to create a very high resolution image of the lorentz equations (about 14000 x 14000 pixels) In order to do this we will have to generate the image in pieces due to memory constraints.  Right now,  we have the code to create the images with different zooms and we have tried to assemble them with imagemagick but we have a border issue (described below).


From my student Evan:

When Dr. Racket exports these .png images (using save-image), it exports them with a border around the image. When using imagemagick to piece these images together, the border is noticeable as a division between the images. Upon cropping out the border with imagemagick, however, it crops out a pixel from the image. Images 1000, 2000, 3000, and 4000 are the original images with borders. Final.png is the image where they are stitched together (using +append and -append in imagemagick). Images 1001, 2001, 3001, and 4001 are the corresponding images cropped on the border. Finalcropped.png represents those pictures stitched together, and there are noticable pixels missing along the axes where the individual images were joined.






 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1000.png
Type: image/png
Size: 10191 bytes
Desc: 1000.png
URL: <http://lists.racket-lang.org/users/archive/attachments/20110425/43eea7ac/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2000.png
Type: image/png
Size: 11648 bytes
Desc: 2000.png
URL: <http://lists.racket-lang.org/users/archive/attachments/20110425/43eea7ac/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3000.png
Type: image/png
Size: 20508 bytes
Desc: 3000.png
URL: <http://lists.racket-lang.org/users/archive/attachments/20110425/43eea7ac/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4000.png
Type: image/png
Size: 18562 bytes
Desc: 4000.png
URL: <http://lists.racket-lang.org/users/archive/attachments/20110425/43eea7ac/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1001.png
Type: image/png
Size: 4394 bytes
Desc: 1001.png
URL: <http://lists.racket-lang.org/users/archive/attachments/20110425/43eea7ac/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2001.png
Type: image/png
Size: 4557 bytes
Desc: 2001.png
URL: <http://lists.racket-lang.org/users/archive/attachments/20110425/43eea7ac/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3001.png
Type: image/png
Size: 7315 bytes
Desc: 3001.png
URL: <http://lists.racket-lang.org/users/archive/attachments/20110425/43eea7ac/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4001.png
Type: image/png
Size: 6964 bytes
Desc: 4001.png
URL: <http://lists.racket-lang.org/users/archive/attachments/20110425/43eea7ac/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: final.png
Type: image/png
Size: 23105 bytes
Desc: final.png
URL: <http://lists.racket-lang.org/users/archive/attachments/20110425/43eea7ac/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: finalcropped.png
Type: image/png
Size: 22491 bytes
Desc: finalcropped.png
URL: <http://lists.racket-lang.org/users/archive/attachments/20110425/43eea7ac/attachment-0009.png>

Posted on the users mailing list.