Both are scaled using the same techniques, it might be something in
the original image.

On Wed, Jan 6, 2010 at 11:41 PM, Pixie <[email protected]> wrote:
> Thanks for your responses.
> I know I can fix this by creating a high density image, but in the
> first place, the reason I didn’t do it is because my application is
> working on version 1.5, which, as you probably know, does not support
> density-specific resources.
> I have more than one way to solve this problem, one of them is as you
> suggested, but I’m still interested to know the difference between a
> regular PNG and a 9-patch PNG, when it comes to scaling up.
>
> Thanks again
>
>
> On Jan 6, 12:41 am, Dianne Hackborn <[email protected]> wrote:
>> I would strongly recommend making density-specific resources.  Graphics
>> scaled from one density to another (especially going up) are never going to
>> look as good as ones designed for the density.
>>
>> Plus doing the pre-scaling on 9-patch images is...  interesting. :)  It's
>> actually amazing to me that it works as well as it does, but it is certainly
>> far from perfect.
>>
>>
>>
>> On Tue, Jan 5, 2010 at 1:48 PM, Jeffrey <[email protected]> wrote:
>> > The easiest thing I can think of is to make high density images and
>> > see if that fixes the problem. I know that fix isn't the best but it
>> > might work.
>>
>> > On Jan 5, 7:31 am, Pixie <[email protected]> wrote:
>> > > Hello everyone,
>>
>> > > I have some 9-patch images on my app, and they work great on the
>> > > medium density.
>> > > When I load the app on a High density emulator/device, these images
>> > > look grainy.
>> > > It happens only to 9-patch images. The others look great after the pre-
>> > > scaling.
>> > > Is there a way to make them look good after the scaling, like the
>> > > non-9-patch images?
>>
>> > > Thanks
>>
>> > --
>> > 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
>>
>> --
>> Dianne Hackborn
>> Android framework engineer
>> [email protected]
>>
>> Note: please don't send private questions to me, as I don't have time to
>> provide private support, and so won't reply to such e-mails.  All such
>> questions should be posted on public forums, where I and others can see and
>> answer them.
>
> --
> 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
>



-- 
Romain Guy
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them
-- 
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