Results 1 to 3 of 3

Thread: Enlarging images.

  1. #1

    Enlarging images.

    Hi,
    Im wanting to blit a 8x8(size not important) onto a screen size of 32x32(size bigger than the image) by scaling it 4x4 times, and obvoiusly losing quality, is there a way I can improve on this or do I just have to have better images?

  2. #2
    Senior Member
    Join Date
    May 2008
    Posts
    104

    Re: Enlarging images.

    You can enable image filtering with image rendering quality options in vg for scaling images down, but won't help for scaling up, you need a higher quality image.

    If your using acceleration, small sizing can be really in-efficient sometimes, it's usually better to use multiples of the texture stride granularity on your platform.

  3. #3
    Junior Member
    Join Date
    Oct 2009
    Location
    United Kingdom
    Posts
    5

    Re: Enlarging images.

    If you use VG_IMAGE_QUALITY_FASTER/BETTER you should usually get some filtering, likely just bilinear filtering, but perhaps some higher quality algorithm depending on the implementation.

    If you are already doing this and quality is not sufficient, then I'd advise using larger sized assets. Also look at whether you can get the effect you want using paths, or by combining images and paints.
    Alex Walters, OpenVG Design Engineer, Imagination Technologies
    http://www.powervrinsider.com | http://www.imgtec.com/forum

Similar Threads

  1. Too many images?
    By matilda in forum OpenCL
    Replies: 2
    Last Post: 07-26-2011, 05:28 PM
  2. MSAA images
    By pelotoescogorciao in forum Suggestions for next release
    Replies: 0
    Last Post: 03-30-2011, 02:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •