[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52866] print() function doesn't accept '-RGBI
From: |
Thomas Aiman |
Subject: |
[Octave-bug-tracker] [bug #52866] print() function doesn't accept '-RGBImage' option |
Date: |
Mon, 15 Jan 2018 11:07:00 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0 |
Follow-up Comment #3, bug #52866 (project octave):
I ran this in MATLAB:
plot(1:10);
grid on
text(5, 5, 'TEXT', 'fontsize', 20)
a = print('-RGBImage', '-r200');
size(a)
class(a)
imwrite(a, 'r200.png')
b = print('-RGBImage', '-r400');
size(b)
class(b)
imwrite(b, 'r400.png')
size(a) = [875, 1167, 3]
class(a) = 'uint8'
size(b) = [1750, 2333, 3]
class(b) = 'uint8'
imwrite outputs are attached.
(file #42915, file #42916)
_______________________________________________________
Additional Item Attachment:
File name: r200.png Size:22 KB
File name: r400.png Size:59 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52866>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/