Skip to content

Cowland-Game-Studios/ImageResizerIOSUE4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ImageResizerIOSUE4

Resize images for ue4 iOS Demo:

image

Above in the folder is generated, below is the unreal folder

Dependencies

  • Datetime
  • Os
  • Pillow (You will have to pip3 install this)

How to run

  1. Clone this repository

  2. After cloning, you will see two folders and the script

image

  1. Go into the ./Source/ folder and put in your image, rename it to Target.png

image

Image stats:

  • Resolution 5000x5000 recommended
  • No alpha channel
  1. Run the program with python3 ImageResizer.py, make sure you have the dependencies installed, and also make sure you are in the root directory, so it can detect your image.

You should recieve a "Successfully converted image" message, else something may have went wrong

image

  1. Go to the ./Result/ folder, and you should have a timestamped folder

image

  1. Go into the most recent folder, you should have the generated images here

image

  1. Drag and drop the images into the YourUnrealProject/Build/IOS/Resources/Graphics folder

image

  1. It should update in the game engine after a restart

image

Note: Steps 7 & 8 will not work if it is your first time on a new project, you will have to manually make a new Graphics folder in YourUnrealProject/Build/IOS/Resources/ and drag those images in, and having to manually select every image for each slot. However if you are going to change the images for the future, you are all set by just dragging and dropping again and replacing

About

Resize images automatically for iOS. Put an image (5000x5000) in the source folder as Target.png, and run the script, and get a customized timestamped folder with your images resized as the output. Copy and paste into your graphics folder... Huzzah!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages