GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Image Resize Issue

olster1olster1 Posts: 396Member
OKay so when I do any work for a game I create all the art 4X bigger than the standards 320x480, this way it can easily resized for any device. This has never been a problem before up until now. The reason is because I am using an 8 bit type art style, when these images are shrunk down to size the clarity of each pixel is blurred and so I lose the 8 bit sharpness. This happens with every image I know but it's far more noticeable when you need hard edged pixel designs. The problem is I have almost finished all the art and I don't want to have to redo it all. I can put the original 4x the size images in my project but it takes up 30mb of ram on images, shite.

I'm thinking there must be another way because even when I zoom to 25% to view the 4Ximages they look better than when they were resized, using the tool, to 320x480.



resized using tool


screen cap of 25% zoom

There must be a way to retain the quality of the image while resizing it. It may be the case that I have to screen cap every image....

All the work is done in GIMP so it's all bitmap.

Anyone have any suggestions on how to solve the issue?

Cheers

Comments

  • POMPOM Posts: 2,599Member
    You need to use png! not bitmap! export your images in a png format..

    Roy.
  • olster1olster1 Posts: 396Member
    edited February 2012
    @P-O-M Sorry, misunderstanding here, it is in a .png format, I meant its bitmap as opposed to a vector
  • POMPOM Posts: 2,599Member
    Hmm I think that's a common problem with pixel art, your images are pixel art right?
    When scaling pixels art most of the time there will be some kind of blur..
    Maybe there is a solution somehow somewhere but I'm afraid I don't know how to help you with this..
    At least the art will look sharp on iPhone 4 and 4s, and those are the common devices these days..

    Cheers
    Roy.
  • MotherHooseMotherHoose Posts: 2,456Member
    @olster1 … In Gimp > Filters > Enhance > Antialias
    before you scale so the pixels at edges are smoother appearing on curves … do on original .xcf files then save as .png

    also ImageAlpha has smooth scaling …functionality
    and while there at that site … grab ImageOptim … both are free!

    @P-O-M … png is a bitmap format …
    either the bits (pixels) are mapped in an image … or the path (vectors) are stored and read at runtime …
    so far only 2 ways to store/read gfx on computer: raster or vector
    .png; .jpg; .gif; etc. just reference the compression for storage of bitmaps (.tiff is least and sharpest format; .jpg is most compressed and blurriest)
    vectors contain mathematical relationships and aren't compressed (already extremely small-size files)
    sometimes .tiff is considered as a unique storage format … but IMO only stores bits/bytes data of mapped pixels in an uncompressed format

    @};- MH
  • olster1olster1 Posts: 396Member
    edited February 2012
    @MotherHoose The advice you gave was almost there but not perfect and Image Alpha doesn't resize apparently but thank you so much because you kicked my brain back in order. I'm a stupid lad sometimes, I didn't think to check the scaling tool options (don't ask) and right there is has an option to turn interpolation to none leaving you with nice solid pixels!!!!! It messes up one some images when they go out of line slightly but I can live with that. THANK YOU!
  • MotherHooseMotherHoose Posts: 2,456Member
    no @RKS … olster1 did not say he was saving in .bmp … he clearly stated it was a bitmap image in Gimp which native format is .xcf
    as PhotoShop native formate is .psd (which open readily and save in Gimp) … .pxm is Pixelmator … .ai is Adobe Illustrator
    though AI uses .pdf and .eps

    irrelevant to GS … GS converts all .jpg and .bmp to .png for sharpest compression
    so perfectly fine to import .bmp into GS … does not have to be converted first

    Good for you @olster1 … great day when we live and learn a new trick! So much in Gimp … often have serendipity moments!

    @};- MH
  • POMPOM Posts: 2,599Member
    edited February 2012
    MH
    Yes I was thinking he is exporting to bmp , that's why i suggested him to port it to png,
    I know gs eccept all kind of formats and convert them to png, but I also know that importing a native png solved problems to many users in the past, that's why I suggested it..
    As for the native format of the gimp software, I never used gimp so I have no idea about it.. For me it's just like "paint" and "paint" exports bmp by default ..
    Anyway, since I'm not familiar with GIMP , and I don't familiar with resizing pixel art ( as I stated above)
    I suggest everyone will just ignore all my comments in this manner..

    Olster, sorry if I misled you, I just tried to help..
    Roy.
This discussion has been closed.