Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maximum TIFF file size exceeded #181

Open
tjohanssonn opened this issue Dec 12, 2016 · 5 comments
Open

Maximum TIFF file size exceeded #181

tjohanssonn opened this issue Dec 12, 2016 · 5 comments

Comments

@tjohanssonn
Copy link

Hi,

I get the following error when running export_fig 'fileName' -png -painters:

Maximum TIFF file size exceeded
Use -dUseBigTIFF(=true) for BigTIFF output
Error: /unknownerror in --showpage--
Operand stack:
   1   true
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1983   1   3   %oparray_pop   1982   1   3   %oparray_pop   --nostringval--   1858   0   3   %oparray_pop   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1213/1684(ro)(G)--   --dict:0/20(G)--   --dict:126/200(L)--
Current allocation mode is local
GPL Ghostscript 9.20: Unrecoverable error, exit code 1
Maximum TIFF file size exceeded
Use -dUseBigTIFF(=true) for BigTIFF output

Have tried to reinstall Ghostscript 9.20 to no avail. Have Windows 10 and tried on Matlab 2014b and Matlab 2016a with the same result.

When checking in AppData/temp/ there's a TIFF-file with 4 GB of disk space allocated.

Do you know why I get this issue?

Regards

@altmany
Copy link
Owner

altmany commented Dec 12, 2016

Please try the same operation using the latest version of export_fig and let me know if it solved the problem.

@tjohanssonn
Copy link
Author

Hi, sorry forgot to mention that. I already have latest version of export_fig from Mathworks webpage.

@altmany
Copy link
Owner

altmany commented Dec 12, 2016

when exactly did you download it? the latest version is less than a single day old...

@tjohanssonn
Copy link
Author

Hi, downloaded it a couple of hours ago.

@valenpe7
Copy link

Hey, this happened to me as well.. I created matlab figs via batch job on cluster and then I wanted to edit and export them to pdf locally. To be able to export the figure, I had to create a new empty figure on my local computer and copy the content of the original ones to it. Then it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants