bugGNU Octave - Bugs: bug #62149, getframe on MacBook Pro 14"...

 
 

bug #62149: getframe on MacBook Pro 14" doesn't show full plot

Submitter:  masum
Submitted:  Mon 07 Mar 2022 08:23:31 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * 6.4.0 Operating System:  * Mac OS
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 12 Jul 2023 07:39:37 AM UTC, comment #2: 

Hi everyone,

the Problem with using getframe on HDPI monitors is still existing in Octave 8.2.0

Does someone have an idea how to fix this?

Thank you in advance.

masum
Thu 09 Jun 2022 10:48:14 AM UTC, comment #1: 


Problem Still exists in V7.1

Work around is to use a second screen which is not HDPI and place all windows there. in this case getframe() can capture the image. So it definitely is caused by the screen

masum
Mon 07 Mar 2022 08:23:31 PM UTC, original submission:  

Using getFrame on 14" MacbookPro with Retina XDR Display

The resulting data only shows the bottom left quarter of the initial plot.

Code example
'''
figure (1); plot (1:10)
figure (2); imshow (getframe (1).cdata)
imwrite(getframe (1).cdata, 'export.gif', 'gif')
'''

Comparison with a windows version of the same code doesn't show this behavior

masum

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #52966:  export.gif added by masum (322KiB - image/gif - Resulting plot)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by masum (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-03-07 masum Attached File- Added export.gif, #52966

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code