reading a jpeg image with readimg 

The first time in a fresh JQt session no problems. I am able to read a jpeg 
file an display it in viewmat

On rereading the same file or a different file JQt crashes.

The crash is occuring on a MacBook Pro with Monterey installed. I haven’t had a 
chance to try it on another Mac. I am using the 903 latest release. 

I stepped through it in debug mode in JQt and it dies at the 64bit call to:

CGContextDrawImage ctx;img;_1;_1;_1;_1;0;0;w1;h1

This is line 516 in graphics_pplatimg/pplatimg.ijs 

There is a ContextRelease and an ImageRelease call after this:


  CGContextRelease ctx
  CGImageRelease img

 My thought is on the latest Mac Monterey they have made a change to the 
underlying graphics calls and something needs to be added to the release 
statements. 

Anyone with a Mac have any insight into this?

Tom McGuire



----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to