The format is standard PNG. Build tools add a custom chunk containing patch
data.

Perhaps your other tool left some values close to zero, but not zero, in the
alpha channel for the border pixels? You could also dump PNG data chunks
before and after Draw9Patch and see what's changed.

--
Kostya Vasilyev -- http://kmansoft.wordpress.com
04.01.2011 22:03 пользователь "szj" <[email protected]> написал:
> There is a problem in our current project.
> We used some tool other than Android SDK Draw 9-patch to draw the
> 9.png images.
> But found the result images will cause build errors saying that the
> frame pixels are not transparent which is indeed transparent in the
> tool we used.
>
> Then we re-edited these error images using Draw 9-patch and these
> errors gone.
> So, I'm very confused about if the 9-patch (NinePatch) is standard png
> format.
>
> Any one know about this?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to