octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #51141] printing bitmap image to eps is slow a


From: Alois Schlögl
Subject: [Octave-bug-tracker] [bug #51141] printing bitmap image to eps is slow and produces huge files
Date: Tue, 30 May 2017 03:49:30 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

URL:
  <http://savannah.gnu.org/bugs/?51141>

                 Summary: printing bitmap image to eps is slow and produces
huge files
                 Project: GNU Octave
            Submitted by: schloegl
            Submitted on: Tue 30 May 2017 07:49:29 AM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Performance
                  Status: None
             Assigned to: None
         Originator Name: Alois Schloegl
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:


print pixel image to eps is slow and produces huge files, while in Matlab its
much faster and produces also smaller files. 
The resulting eps files on octave are  100x to 1000x larger without any
visible benefit. 

-rw-rw-r--  1 schloegl schloegl   2195862 Mai 30 08:52 fig1.ml2013a.eps
-rw-rw-r--  1 schloegl schloegl   6521494 Mai 30 08:53 fig1.ml2013a.epsc
-rw-rw-r--  1 schloegl schloegl   6521606 Mai 30 08:53 fig1.ml2013a.epsc2
-rw-rw-r--  1 schloegl schloegl     48195 Mai 30 08:52 fig1.ml2016b.eps
-rw-rw-r--  1 schloegl schloegl     70585 Mai 30 08:52 fig1.ml2016b.epsc
-rw-rw-r--  1 schloegl schloegl   1247342 Mai 30 08:52 fig1.ml2016b.epsc2
-rwxrw-r--  1 schloegl schloegl     46405 Mai 30 09:08 fig1.mswin.ml2017a.eps
-rwxrw-r--  1 schloegl schloegl     69113 Mai 30 09:08
fig1.mswin.ml2017a.epsc
-rwxrw-r--  1 schloegl schloegl   1225200 Mai 30 09:08
fig1.mswin.ml2017a.epsc2
-rw-rw-r--  1 schloegl schloegl 100722631 Mai 30 08:55
fig1.octave421.fltk.eps
-rw-rw-r--  1 schloegl schloegl 100761467 Mai 30 08:59
fig1.octave421.fltk.epsc
-rw-rw-r--  1 schloegl schloegl 100761467 Mai 30 09:12
fig1.octave421.fltk.epsc2


In order to demonstrate this, I've put up the files at 
  https://pub.ist.ac.at/~schloegl/20170518428373.matlab.eps.issue/

The script is here: 
 
https://pub.ist.ac.at/~schloegl/20170518428373.matlab.eps.issue/example_eps_issue.m

The data is here:
  https://pub.ist.ac.at/~schloegl/20170518428373.matlab.eps.issue/data.mat


I've tested this with fltk. 





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51141>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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