[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55632] display of image pixels and axis limit

From: Rik
Subject: [Octave-bug-tracker] [bug #55632] display of image pixels and axis limits
Date: Fri, 8 Feb 2019 17:19:41 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #55632 (project octave):

                  Status:         Patch Submitted => Patch Reviewed         


Follow-up Comment #7:

@Pantxo: I dumped all of the demos and compared them pre/post patch.  It
doesn't seem that anything is drawn incorrectly.  Also, I ran 'make check' and
all tests still pass.

If I understand the patch correctly, draw_image in gl-render.cc became much
simpler, but draw_image in gl2ps-print.cc became much more complicated.

I would have thought using textures over gl2psDrawPixels would have been
slower, but it seems not to be.  I tested with a 10MB image and display times
as caluclated by

tic; imshow (img); toc

were the same.

Printing to a vector format like PDF leaves some weird pixels behind, but
these are cleaned up if the image is resized which forces a re-paint.  It
would be nice to clean that up at some point.

Sample code

demo image 1
print tst.pdf


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]