-
Notifications
You must be signed in to change notification settings - Fork 3
Choosing content and style
In order to choose different content and style images we must edit the render-512.sh script found in your Desktop user folder. After editing the script, we'll upload the file to your remote user folder, where it will overwrite the script we ran to create our first images.
Right-click on render-512.sh and hover over Open With to see what applications can open this file
- If you don't have a preferred text editor, open the script with TextEdit.app
Select render-512.sh then Right-click > Open With to see what applications can open this file.
- A list of available applications opens
- Click More Apps to expand the list
- If you don't already have a preferred text editor, open the script with Notepad
Review the images in the pictures folder inside your user folder on the Desktop and make note of the file names (the render-512.sh script uses content-1.jpg as the default content image)
- Choose a different image to replace the default.

- Look for the lines in the script stating:
# Replace this with the filename of your content image
CONTENT_IMAGE=content-1.jpg
- Replace the default file name with the new file name. For example, if the file name of the replacement image is content-2.jpg, you would type:
# Replace this with the filename of your content image
CONTENT_IMAGE=content-2.jpg
- Save the file. This will overwrite the previous version.
The change you made to the script is still in your Desktop user folder. You need to upload this script to the server so that when you run the script it will use the new content image.
- Confirm that FileZilla's right-panel is showing your user folder
- Drag the render-512.sh script from your Desktop user folder into any empty part of the lower-right panel
- FileZilla will alert you that the Target file already exists
- Click OK to overwrite the file
- Click anywhere inside the Terminal window to make it active
- Press the Up-Arrow key on your keyboard to automatically enter the previous command. The Terminal window displays:
./render-512.sh
- Press Enter
The rendering process starts again. When it completes, go back to FileZilla
- In the right-panel click on your user folder
- Press the F5 key to refresh the file listing
- The recent rendering job created a new output folder, named ##-temp
- everytime you start a rendering job, a new ##-temp folder is created, where ## will be some value like 01, 02, 03, etc...
- Select the ##-temp folder
- Right-click > Download the ##-temp folder to your Desktop
Continue working with the render-512.sh script previously opened in your Text Editor. This time, choose a different style image and replace the appropriate file name in the script (the default content image is named style-basket.jpg)

You are now ready to Change the parameters