Author Topic: Using Gimp to resize Sortains GIF images for RailPro  (Read 267 times)

G8B4Life

  • Signalman (Global Mod)
  • Conductor
  • *****
  • Posts: 797
  • I'll think of a catchy tag line one day
    • View Profile
Using Gimp to resize Sortains GIF images for RailPro
« on: February 19, 2020, 07:17:03 AM »
Sortains (backlink: https://rpug.pdc.ca/index.php/topic,955.0.html) provides a nice range of images for use in a screensaver program. These images are almost the perfect size for using with RailPro. While they are no substitute for an image of your own model they fill in well until you can get a photo of your own model; or for if your can't get a photo of your own model.

The images provided by Sortrains are in GIF format, which need converting to use in RailPro. While it may be possible to use MS Paint to do the conversion Gimp is a much better tool to use for this image format.

Please respect Sortains copyright for the images and use them only for your own use.

1. Open the image you wish to use in Gimp. You'll see the the image has a checkered background. This is a transparency and we'll deal with it later so do not try to colour in the background.

 [ You are not allowed to view attachments ]

2. The first thing you'll need to do is convert the image to RGB colour mode. Do this by selecting Image from the menu bar and then selecting Mode and then RGB.

 [ You are not allowed to view attachments ]

3.  With the colour mode corrected now resize the canvas. Images for use in RailPro need to be 480 pixels wide by 180 pixels high. Select Image from the menu bar again and then select Canvas Size. Do not select Scale Image.

 [ You are not allowed to view attachments ]

4. Adjust the canvas size as per the image below.
  • First set the canvas size (if the little chain next to the width and height boxes are "linked" together you'll need to unlink them by double clicking on it).
  • Then center the image in the new canvas size.
  • Set the Resize Layers to All Layers.
  • Finally, click the Resize button.

 [ You are not allowed to view attachments ]

5. You should now have an image 480 pixels wide by 180 pixels tall.

 [ You are not allowed to view attachments ]

Important Note. When you export the image from Gimp to the BMP format, the transparent background will be transformed to the background colour on the toolbox. Make sure the background colour is white. In the image below of a crop of the Toolbox the purple and white squares show the foreground and background colours respectively. Change the background colour by clicking on it if needed.

 [ You are not allowed to view attachments ]

6. Now you can export the image. Select File from the menu bar and then click Export.

 [ You are not allowed to view attachments ]

7. Select the folder where you'd like to save the image and give it a Name, making sure it ends in .bmp, then click the Export button.

 [ You are not allowed to view attachments ]

8. You'll be shown the export options for the bmp file format. Make sure "Do not write colour space imformation" is ticked and that 24 bits is selected as in the image below. You can then click the Export button.

 [ You are not allowed to view attachments ]

You'll have now converted the GIF image to the required size and format for loading into RailPro Assistant.

- Tim


« Last Edit: February 19, 2020, 07:33:26 AM by G8B4Life »