Skip navigation
Thistledowne
Currently Being Moderated

Transparency of graphics in PrintJob

Oct 5, 2009 12:05 PM

Am I missing some crucial documentation or switch that causes elements that are rendered with transparency intact on a screen, but when the sprite is then sent to a PrintJob, those elements are rendered completely opaque.

 

For instance, if I have two overlaping ellipses


with(es.graphics)
{
    beginFill(0x6b7ad1, .5);
     drawEllipse(0, 70, 440, 400);
     endFill();


     beginFill(0xb29ed1, .5);
     drawEllipse(220, 70, 440, 400);
    endFill();

}

 

There of course is no blended region, the second fill is entirely opaque.

 

 

I've messed with the Print As Bitmap stuffies to no avail.

 

While on that subject, a PNG included in that printjob looks like garbage, even if there is no alpha/transparency.

  • Currently Being Moderated
    Community Member
    Oct 8, 2009 2:45 AM

    I am checking with the team on this.

     

    Rob Christensen

    Adobe AIR Team

    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Dec 18, 2009 12:07 AM

    Sorry, I have had trouble tracking down this issue, but I am giving it another go. Thank you for your patience.

    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Dec 21, 2009 2:20 PM

    I have been able to follow-up and get some answers. Thank you for your patience.

     

    Vector PrintJob rendering transparency as opaque:

    This is a permanent design limitation. The alternative is to use bitmap printing, which will be much better in the next release of AIR. The upcoming AIR 2 beta will include a number of significant enhancements to printing beyond this as well.

     

    Filter effects not rendering:

    We do not have a workaround for this issue and I have confirmed that this issue is not going to be addressed in AIR 2 or Player 10.1. How critical is this to your application?

     

    PNG looks like garbage:

    Can you please provide a sample file? We believe we have addressed this in AIR 2, but we would like to verify.

                                                   

    Default file name:

    This is addressed indirectly in AIR 2. You will be able to set the name of the print job. For example:

     

    var job:PrintJob = new PrintJob();

    job.jobName = "Your name here";

     

    Most drivers will base the Save As File name on the job name.

    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points