Skip to main content

Easy way to change image from 4:3 to 16:9 using Ms. Paint while respecting existing image aspect ratio


  1. Height stays the same (only the width changes)
  2. Keep original image aspect ratio and keep the image in the middle of the new size image
  3. Add black boxes on the 2 sides to respect the exiting image perspective

Calculation for the new 16:9 size

  1. New width = 16 / 9 multiply by the height (note: we are trying to keep same height)
  2. E.g.: original size is 3840 x 2880 (4:3)
    New width = 16 / 9 * 2880 = 5120
    New image size = 5120 x 2880 (16:9)

Instruction using Paint to add 2 black bars on the side of the image

  1. Goal: increase image size from 3840 x 2880 to 5120 x 2880
  2. First increase image width to 4480 (File -> Image Properties)
  3. Rotate 180 degrees <- this is the main trick :)
  4. Increase width to 5120
  5. Use Fill tool to fill the 2 sizes with Black (or whichever color you like)
  6. Rotate 180 degrees to get back to the original format
Just another note for my future reference :).


Popular posts from this blog

New Site

Testing the new site! The focus will be on Project Portfolio Management and Software Development. Hope everyone's having a great day!

Checked Task Pro Instruction (BlackBerry 10)

  Checked Instruction I just started working on this page, please send me comments and suggestions that could improve this site. Please note that if you use the Android app, the instruction is similar to the BlackBerry app below. I will create a separate instruction page for Android app soon. Contents 1  Initial Set-up after Installation 2  SMART task system that combine the best of GTD (Getting Things Done) and MYN  3  Smart Add - natural language date parser 4  ***NEW*** Shortcuts 5  Back-up and Restore - How to Transfer data from one device to another 6  BES - Work Space - Add a public app from the BlackBerry World storefront 7  Settings options that will definitely increase your productivity 8  Automatically add email as task 9  Tips on improving performance 10  Add a category 11  Delete a category 12  Keep categories permanently 13  Add sub-task 14  Automatic Synchronize from remember 15  Sort options 16  How to add recurrent task and edit advance calendar detail 17 a

React Native + Javascript + Date Time + JSON.Stringify() + JSON.parse()

This page will capture all issues related to Date and React Native mobile app development. Will add more as I go through the development cycle.  I will play around with Javascript for a bit before switching to TypeScript.  Some of the information below might not be following the best practice as I just started the development process. Will update as I learn more about React Native + Javascript. Storing Date object in AsyncStorage You can store Date object directly into AsyncStorage. Generally in other programming language, you can store the Date object directly in a data storage. However, with React Native, you will get the the Debug Console warning on Expo Go if you do so. I recommend using JSON.stringify() command below to store the date object. Please follow the instruction below.  On the side note, you can also store millisecond and use the date toString option but it is not recommended. I would recommend using stringify command as it will store using the toISOString() which is the