PNGText.calculateOptimumDensity

Calculates the least density that can be used to store n bytes into loaded image.

class PNGText
ubyte
calculateOptimumDensity
(
int n
)

Return Value

Type: ubyte

calculated density, or zero in case of error

Meta