Welcome to iraf.net Friday, May 10 2024 @ 01:30 AM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 Image Buffer
   
JWK
 02/05/2015 08:04AM (Read 787 times)  
+----
Newbie

Status: offline


Registered: 02/05/2015
Posts: 1
Greetings All!

This is my first post on iraf.net, so I'll try to be as clear as possible.

Problem:
'ximtool: attempted write out of bounds on framebuf'
Whenever I attempt to display or imexam an image from iraf (or pyraf) it would only load in 512x512 of the original image (which was 4098x2048). I attempted to create a new image buffer setting 'imt60' in imtoolrc and graphcap, but something is amiss.

Setup:
-Macbook Pro 15'' Non-Retina (i7x8GB RAM)
-IRAF installed under /iraf/iraf/
-duplicate buffer files under ~/iraf/:
--~/iraf/.imtoolrc
--~/iraf/mygraphcap
-modified login file:
--set stdimage=imt60
--set graphcap=/path/to/~/mygraphcap

Edit in ~/.imtoolrc :
"60 1 4098 2048 # imt60|imtusna"

Edit in ~/mygraphcap :
"# Custom user settings
imt60|imtusna|:cn#60Angryr#3000:yr#5000:\
:LC:BS@:z0#1:zr#200Big GrinD=node!imtool,,3000,5000:tc=iism70:"

I appreciate any insights you can offer!

Thanks,
James

 
Profile Email
 Quote
fitz
 02/06/2015 06:03PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Creating a new frame buffer size requires editing the imtoolrc file and graphcap file as you've done, but you need to be sure to also point your session to use the modified graphcap file:

PHP Formatted Code
cl> reset graphcap = /path/mygraphcap
cl> gflush
 


Also, the graphcap requires that you change the ":cn" (configuration number, 60 in your case) as well as the "Angryr" and ":yr" resolution values (you're were set at 3000x5000).

 
Profile Email
 Quote
   
Content generated in: 0.12 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login