Skip to main content
April 23, 2009
Frage

Print Warning:Warning: Filter will not render. The DisplayObject's filtered dimensions (16008, 6009) are too large to be drawn.

  • April 23, 2009
  • 6 Antworten
  • 7071 Ansichten

I understand that the dimensions of that are way too big to be drawn, but my question is why is it doing that?  I have an external swf file that I wanted printed.  When I go to print it I get two warning like this, but it seems to print properly.  The print code is below, and if you want to see the actual swf and its code let me know, I can post that as well.  Thanks in advance to anyone who helps me figure this one out.

case "print_el":

var p:PrintJob = new PrintJob;

if (p.start())

{

p.addPage(PrintableEL);

p.send();

}

break;

Note:  The PrintableEL is a datagrid on a Sprite.

Dieses Thema wurde für Antworten geschlossen.

6 Antworten

Participant
August 24, 2011

Hi

I recently faces the same issue.But issue got resolved in unusual manner.

Problem : In 1 page i have independent scrollpane (component) and  independent 4 movieclips (print1,print2,print3,print4). I wanted to print all 4 movieclips. While doing so it was showing the error that "Warning: Filter will not render.  The DisplayObject's filtered dimensions (5431, 3871) are too large to be drawn." and page got cropped.

Solution : I had removed the Scrollpane comonent and checked the printing. It did not show any error and page appear perfectly as I wanted.

I hope this may help..

Regards

Bhaumik

Participant
June 27, 2011

I'm having the same problem here. I suspect that flash internally multiplies the size of the printed page with the dpi the printer is able to deliver. This is the only explanation I could get for such big numbers even if I only want to print a small image…

Participant
February 15, 2011

I'm having this problem, as well, only my project is using ActionScript 2.

I tracked down the source of the issue to a masked movie clip contained within the sprite that has the filter applied to it. The clip being used as a mask was flipped horizontally, and the masked clip is used as a placeholder for loading an external SWF:

clip.loadMovie('path/file.swf');

I replaced the masking clip with one that was un-flipped, and the error went away.

Hope this helps someone!

Participant
September 25, 2010

Same Issue: Found it as I tryed to  print flex charts and the shadow was gone. Any Solutions Available?

Below simple Code for this Issue:

1. Printing Dialog OK - clicked
2. Debug Mode Warning
Warnung: Der Filter wird nicht dargestellt. Die gefilterten Maße (5388,  5388) des DisplayObject sind zu groß zum Zeichnen.
Translation (maybe):
Warning: Filter will not render.  The DisplayObject's filtered  dimensions (5388, 5388) are too large to be drawn.

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
    <fx:Script>
        <![CDATA[
            import mx.printing.FlexPrintJob;
            private function doPrint():void{
                var pj:FlexPrintJob = new FlexPrintJob();
                pj.start();
                pj.addObject(content);
                pj.send();
            }
        ]]>
    </fx:Script>
    <s:Group id="content" height="200" width="200">
        <s:filters>
            <s:DropShadowFilter hideObject="true" distance="30" color="0x00FF00" alpha=".8" strength=".33" id="horribleShadow"/>
        </s:filters>
        <s:Rect height="100" width="100">                             
            <s:stroke>
                <s:SolidColorStroke color="0x000000" weight="1"/>
            </s:stroke>
            <s:fill>
                <s:SolidColor color="0x0000FE"/>               
            </s:fill>
        </s:Rect>
   
    </s:Group>
    <s:Button label="Print" click="doPrint()"/>
</s:Application>

Participant
September 28, 2010

I am getting something similar.  Sounds like a bug

kglad
Community Expert
Community Expert
September 28, 2010

avoid using any component if you're having this problem to see if that eliminates the problem.

Participant
April 23, 2010

I'm having the same exact issue. I'm adding a relatively small DisplayObject to a PrintJob, and it's giving me outrageous numbers like "The DisplayObject's filtered dimensions (7499, 9582) are too large to be drawn."

kglad
Community Expert
Community Expert
April 23, 2009

how large is PrintableEL and are you applying filters to it?

April 23, 2009

The funny thing is there are no filters, unless DataGrid components have filters automatically applied to them.  The size of the Sprite is about 600x700.