Jump to content
Opry99er

Bitmap image conversions

Recommended Posts

3 hours ago, Tursi said:

Looks great! For the astronaut one, you have a bit of black border at the left which is causing the first column of pixels to look stretched (as the black is considered more important to preserve than the detail in the moon's surface) - crop out the black border and it should convert better. 

First, I added a bunch more, with links to the source at APOD, plus 9918A versions.

 

I checked the astronaut picture, and the black border comes in because the image is 509 x 385. I had to crop out some white pixels on the edges.

Is the black bar just filling empty space then?

 

Here's some details of that one, before and after Convert9918:

 

plum_apollo16_big_crop_hist0.png.600ed03178cd8f3e8cef6ae12c1c29f1.png     plum_apollo16_big_crop_hist1.png.d917ea04dc0a005bc79595b5f18a0f44.png

 

 

 

 

  • Like 1

Share this post


Link to post
Share on other sites
10 hours ago, FarmerPotato said:

I checked the astronaut picture, and the black border comes in because the image is 509 x 385. I had to crop out some white pixels on the edges.

Is the black bar just filling empty space then?

The new pics and the comparisons are nice! I know about APOD. :)

 

Yes on the sizing. Convert9918 will take whatever image you give it, and resize it to fit according to the "Fill Mode".

 

In "Default", the entire image is scaled to fit on the screen, with black bars filling the remains. If you watch the text output, you'll see that it checks each dimension, then checks the larger scale, scaling both axes by it. 509x385 will probably size to 253x192, leaving 3 pixels to be filled to get 256 across.

 

Generally, I prefer to crop the image to get more pixels, and that's what the other three modes do: Top/Left, Middle, and Bottom/Right just specify which part of the image you want to focus on. Most of the time you want "Middle", but Top/Left is usually good for portraits. This uses the smaller scale of the two axes, and lets the other axis hang off the edge to give you more pixels in the image -- in effect this fills the screen.

 

Alternately, for finer control, crop the image in your favorite PC tool then resize to 256x192, and the tool will know that no resize is needed. :)

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...