Thanks Bill, Please not his post and update! Linda -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Linda Alvord Sent: Tuesday, March 25, 2014 11:35 AM To: [email protected] Subject: Re: [Jprogramming] Making Crayons
Oops. The earlier version slipped away from me. Here are the 4 correct lines. require 'viewmat' ]P8=: 255* #:i.8 P8 viewmat (i.8);'Box of Crayons' P8 viewmat (i.5000);'Blend Colors' Open a new temp in jqt. Copy and paste 4 J lines below into the file. Use Run on each of the first three lines. You should have an image called "Box of Crayons' Now place cursor on the image and press Ctrl and S . The image is now in your temp folder with the name 'viewmat'. Open a program that works with images. " Paint" is simple and works well. Open "j 801 - user" and "temp" . Select "viewmat". Now you can save your image with the name "Box of Crayons" as a bmp with the full name "Box of Crayons.bmp" Also, you can run the third line again. With the image active, use "alt and prt sc" to capture the image. Then you can paste the entire image in a document like Word using "ctr and V". Repeat the process with line 4 and save or paste the bmp "Blend Colors.bmp" Let me know if this doesn't work in some environments. Linda -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Linda Alvord Sent: Tuesday, March 25, 2014 11:06 AM To: [email protected] Subject: [Jprogramming] Making Crayons Some short cuts I have learned: Open a new temp in jqt. Copy and paste 4 J lines below into the file. Use Run on each of the first three lines. You should have an image called 'Colors 8' Now place cursor on the image and press Ctrl and S . The image is now in your temp folder with the name 'viewmat'. require 'viewmat' ]P8=: 255* #:i.8 P8 viewmat (i.8);'B b g' P8 viewmat (i.5000);'Colors 8 Blend' Open any program that works with images. " Paint" is simple and works well. Open "j 801 - user" and "temp" . Select "viewmat" . Now you can save your image with the name "Box of Crayons" as a bmp with the name "Colors 8.bmp" Also, you can run the third line. With the image active, use "print screen" using "alt and prt sc" and paste the entire image in a document like word using "ctr and V". Let me know if this doesn't work in some environments. Linda ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
