Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8315911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T21:14:14+00:00 2026-06-08T21:14:14+00:00

I am using the program ImageResizer with the XBR4x algorithm to upscale .gif images

  • 0

I am using the program ImageResizer with the XBR4x algorithm to upscale .gif images from an old 2D game from 32×32 to 48×48.

The exact procedure:

  1. Manually rename all images to .jpeg because the program wont open .gif
  2. Resize the images, they are saved by the program as .bmp
  3. Manually rename the images to .gif again.

The problem:

When looking at the images in Paint they look very good, when drawn in my RGB BufferedImage they suddenly all have a white/grey ~1px border which is not the Background Color, the images are placed directly next to each other. As I have a whole mosaic of those images the white borders are a no go.

Image 32×32: enter image description here

Image 48×48 after upscaling: enter image description here

Ingame screenshot of 4 of those earth images with white borders: enter image description here

The question:

How do those borders originate? And if not possible to answer this, are there more reliable methods of upscaling low resolution game images making them look less pixelated?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T21:14:15+00:00Added an answer on June 8, 2026 at 9:14 pm

    I emailed Hawkynt, the developer of the tool and it seems the error is not in the tool but in Microsofts implementation and he fixed it (actually even bigger tools like Multiple Image Resizer .NET have the problem). This is what he said about his program:

    “When you entered width and/or height manually, the image got resized by the chosen algorithm where everything went fine.

    Afterwards I used the resample command from GDI+ which implements a Microsoft version of the bicubic resize algorithm.
    This implementation is flawed, so it produces one pixel on the left and upper side for images under 300px.

    I fixed it by simply making the resized image one pixel larger than wanted and shifting it to the left and up one pixel, so the white border is no longer visible and the target image hast he expected dimensions.”

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the program to send data from database to the Excel file .
I am using a program from the Simply Scheme book: (require (planet dyoo/simply-scheme)) (define
I am using a program what can render color images but only without alpha
I wrote a program using AutoIT to fetch information from a number of websites
My program is written in C# NET 2.0,it's using external functions from a dll
This question mostly for education. I just interested why. I'm using program from here
I have a program using odac(11.2) and oracle client 11.2. Now I want to
I'm using boost::program_options and it suffers from the same as many other c++ libs,
I am currently writing a program using Weka that builds a model (using one
Sometime back I wrote a program using Mono compiler as a service as using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.