-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Description
by phrozen10:
Hi, today I installed Go 1 windows 386 on my office machine and run a program I've been working on to learn Go. Everything went fine and the output image rendered correctly. Then I came home and installed Go 1 windows amd64 version, just to find out the resulting image was totally awkward, I uninstalled the amd64 version and installed 386 and run the program and the output went as expected. Here is the program https://gist.github.com/2231611 go run main.go <-- should produce a png, no other than std libs required, vanilla installation of Go 1 http://tinypic.com/r/2ec29g1/5 <-- 386 (correct) http://tinypic.com/r/34o5xu1/5 <-- amd64 (wrong) I use float64 on most of the calculations apart from uint8 for the colors as expected to the 'image/color' package. Some int here and there mainly for index. *Attached the files to the issue.
Attachments:
- main.go (4922 bytes)
- go1_windows_386.png (1274572 bytes)
- go1_windows_amd64.png (1661377 bytes)