Tamamlanmış

Modify PNG ByteArray Resolution Byte/Word in AS3

I need to modify the RESOLUTION value of a ByteArray that has been encoded by the [url removed, login to view]

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);

[url removed, login to view](designBitMapData, new Rectangle(0, 0, designW, designH), new Point(0, 0));

var pngEncoder:PNGEncoder = new PNGEncoder();

var pngByteArray:ByteArray = [url removed, login to view](fileBitmapData);

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

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.

Thanks,

Beceriler: ActionScript, Görüntüleme

Daha fazlasını görün: as3 modify png file, as3 png bytearray, as3 bytearray png, job png, as3 or, as3 0, resolution, encode to word, byte, encode job, job encode, actionscript word, as3 encode, typing job image file word, resolution code, word vba save picture png, file bytearray as3, vba resolution png, resolution file, file resolution, modify actionscript, as3 actionscript, png file file, super resolution png, as3 modify file

İşveren Hakkında:
( 2 değerlendirme ) Saint Cloud, United States

Proje NO: #4968248

Seçilen:

nsto1

As Encodion mentioned you need to specify what exactly you need the resolution change for so you need a bit more detail in your description. In any case, Bitmaps/BitmapData is my bread-and-butter so if you want some Daha fazlası

2 gün içinde 43$ USD
(0 Değerlendirme)
0.0

5 freelancers are bidding on average $60 for this job

jabaz007

lets do it....

in 3 gün içinde50$ USD
(67 Değerlendirme)
5.7
mananKparikh

Hi, I am a veteran Flash/ActionScript developer with over 7 years of experience. I have worked for companies like Intel and Zynga games and carry a lot of application/game/web and plugin development skills on me. Daha fazlası

1 gün içinde 65$ USD
(9 Değerlendirme)
5.5
encodion

the 72DPI is a reference resolution. it has no effect whatsoever on the quality of a raster image witch is primarily defined by the total number of pixels. [points/inch] becomes relevant only in printing when you give Daha fazlası

in 3 gün içinde30$ USD
(1 Değerlendirme)
1.9
mahiryildirim

Hi, I'm actionscript developer. I can help you.

in 3 gün içinde111$ USD
(0 Değerlendirme)
0.0