Modify PNG ByteArray Resolution Byte/Word in AS3

Avg Bid (USD)
Project Budget (USD)
$30 - $250

Project Description:
I need to modify the RESOLUTION value of a ByteArray that has been encoded by the PNGEncoder.encode

I believe the value can be set in regards pixels per inch or pixels per cm.

My current code, which works, but defines the resolution with a default value of 72 DPI (By the PNGEncoder) is :

var fileBitmapData:BitmapData = new BitmapData (designW, designH, true, 0x00FFFFFF);
fileBitmapData.copyPixels(designBitMapData, new Rectangle(0, 0, designW, designH), new Point(0, 0));
var pngEncoder:PNGEncoder = new PNGEncoder();
var pngByteArray:ByteArray = pngEncoder.encode(fileBitmapData);

If you know actionscript and the structure of a PNG file, this should be a 10 minute job for you :D

Additional Project Description:
09/29/2013 at 6:26 AKDT
Some 'bidders' have asked why I need this ...

The image that I save will be imported in to a professional printing application that automatically defines the size of the printed image by dividing the pixel size by the resolution parameter in the file. Hence, I need to set this parameter.

I have also realized that it would be beneficial to be able to retrieve the resolution value when opening a PNG file. If you can offer bi-directional support of resolution definition then please bid.


Skills required:
ActionScript, Imaging
Hire DPInnovations
Project posted by:
DPInnovations United States
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

$ 50
in 3 days
$ 65
in 1 days
$ 30
in 3 days
$ 43
in 2 days
$ 111
in 3 days