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++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -