Thread Subject: Bad data returned by HARDCOPY. Not calling IMWRITE

Subject: Bad data returned by HARDCOPY. Not calling IMWRITE

From: Van Lancker Eric

Date: 20 Feb, 2006 11:04:52

Message: 1 of 3

Hi,

In a batch processing using the command
print(gcf,'-r126','-djpeg75',[Pn Fn]);
I have sometimes (1 time upon 1000) the following error

Error using ==> print
Error using ==> graphics\private\render
Bad data returned by HARDCOPY. Not calling IMWRITE.

Hardcopy is a built-in function.
I can't reproduce the error...and cannot find the bug !!

Thanks in advance.
Eric

Subject: Bad data returned by HARDCOPY. Not calling IMWRITE

From: Igal

Date: 8 Nov, 2009 10:36:02

Message: 2 of 3

Van Lancker Eric <eric.vanlancker@iav.ch> wrote in message <43f99441$1_3@news.bluewin.ch>...
> Hi,
>
> In a batch processing using the command
> print(gcf,'-r126','-djpeg75',[Pn Fn]);
> I have sometimes (1 time upon 1000) the following error
>
> Error using ==> print
> Error using ==> graphics\private\render
> Bad data returned by HARDCOPY. Not calling IMWRITE.
>
> Hardcopy is a built-in function.
> I can't reproduce the error...and cannot find the bug !!
>
> Thanks in advance.
> Eric

Hi Eric,
I Got another case of similar problem. Did yo ufind an answer?
Regards.

Subject: Bad data returned by HARDCOPY. Not calling IMWRITE

From: Isabel Andreu-Burillo

Date: 18 Nov, 2009 00:50:20

Message: 3 of 3

"Igal " <igal@systematics.co.il> wrote in message <hd66ui$i6e$1@fred.mathworks.com>...
> Van Lancker Eric <eric.vanlancker@iav.ch> wrote in message <43f99441$1_3@news.bluewin.ch>...
> > Hi,
> >
> > In a batch processing using the command
> > print(gcf,'-r126','-djpeg75',[Pn Fn]);
> > I have sometimes (1 time upon 1000) the following error
> >
> > Error using ==> print
> > Error using ==> graphics\private\render
> > Bad data returned by HARDCOPY. Not calling IMWRITE.
> >
> > Hardcopy is a built-in function.
> > I can't reproduce the error...and cannot find the bug !!
> >
> > Thanks in advance.
> > Eric
>
> Hi Eric,
> I Got another case of similar problem. Did yo ufind an answer?
> Regards.

Hello,

I randomly get this message and have the same problems that you describe.
Do you know a solution to this, or a way around it?

Thank you,

Isabel

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com