iphone - How to reduce PNG size in ios for email sharing -


now trying share png file on app.

i opened 2 mb png on app , share png email on app.

but, email said image size 20 mb.

how can reduce png size email sharing?

consider using jpeg, png designed quality, not size.

are creating uiimage or reading directly file?

if absolutely sure correct size beforehand, , being resize, read file directly nsdata file , add octects attachment stream, jpeg nicer size.


Comments

Popular posts from this blog

c - sscanf() double showing zeros -

pentaho - Carte Status / Kettle Slave Server Status page shows status for random runs instead of the latest run -