Importing a bitmap image in its original format ensures it is preserved exactly as is in Harmony. When importing a bitmap image, you have several options available such as where you want to import the file and how to name it.
- Do one of the following:
- From the top menu, select File > Import > Images.
- In the File toolbar, click the Import Images button.
- In the Xsheet view, right-click anywhere in the frame area and select Import > Images.
The Import Images dialog box opens.
- In the Files section of the Import Images dialog box, click Browse to find and select one or more images on your computer.
- Add the bitmap image to a new layer by selecting the Create Layer(s) option and one of the following options:
- Create Single Layer Named: Creates a new layer with the specified name and imports the images into it.
- Create Layer(s) Based on Filenames: Creates a layer based on each unique filename prefix. For example, if you import three files named a-1.tga, a-2.tga and b-1.tga, this will create two layers, one named "a" and one named "b". Layer "a" will contain the two first images and "b" will contain the third one.
- Add to Existing Layer: Imports the images into the specified layer. Note that you can only import into layers that are compatible with your import options. For example, if you're importing images as vector drawings, you can only import them into vector drawing layers.
- In the Vectorization section, make sure the Vectorize Image option is unchecked.
- In the Import Options section, select the Keep As Original Bitmap option.
- In the Alignment section, decide on the size and placement of your image within the camera frame. You can choose between the following options:
Parameter Description Fit
Adjusts the image's size to fit completely within the scene's field, both vertically and horizontally, making sure the entire image is visible.
If the image's orientation is portrait, then it will adjust the image's height to fit the field's height, without affecting the image's aspect ratio:
If the image orientation is landscape, then it will adjust the image's width to fit the field's width, without affecting the image's aspect ratio:
This has the opposite effect to the fit parameter. The image's smallest dimension will be made to fit the scene frame's matching dimension, and the image's largest dimension will be adjusted proportionally, making the image fill the entire scene field, and bleed past its boundaries it if its aspect ratio does not match the field's aspect ratio. This option can be used to import a panning background image, also referred to as a pan.
If the image's orientation is portrait, it will adjust the image's width to fit the field's width, without affecting its aspect ratio:
If the image's orientation is landscape, it will adjust the image's height to fit the field's height, without affecting its aspect ratio:
Scales the image to fit the scene's resolution, making each pixel in the image take one pixel in the scene's field. For example, if the image's dimensions in pixels are half of the scene's resolution in pixels, then the image's dimensions will appear to be half of the scene field's dimensions.
If your image has transparency, in the Transparency section, select how the colour values in the semi-transparent pixels in the image were premultiplied with their alpha values. This allows Harmony to demultiply the values so that it can properly blend the image with the other elements in your scene.
You can choose between the following options:
Premultiplied with White
The colour values of semi-transparent pixels in the
imagehave been encoded so that the more transparent they are, the closer to white they are. When an imagethat is premultiplied with white is loaded in a software that does not support transparency, it appears blended with a white background. Select this to make Harmony reverse this premultiplication so that the imageblends properly with other visual elements in your scene.
Premultiplied with Black
The colour values of semi-transparent pixels in the
imagehave been encoded so that the more transparent they are, the closer to black they are. When an imagethat is premultiplied with black is loaded in a software that does not support transparency, it appears blended with a black background. Select this to make Harmony reverse this premultiplication so that the imageblends properly with other visual elements in your scene.
The colour of semi-transparent pixels in the image is encoded independently from their transparency. When
an imagethat is not premultiplied is loaded in a software that does not support transparency, semi-transparent pixels simply appear fully opaque, making its edges appear pixelated. Clamp Colour to Alpha This is the same as Premultiplied with Black, except that it also prevents the colour values for a given pixel from being higher than that pixel's alpha value. This option is only useful if you are working with imagesthat are supposed to be premultiplied with black, but where the colour values of pixels have been increased without their alpha values being adjusted accordingly.TIP
The transparency type for an image may depend on the software used to create it. For example, images exported by Harmony in any format but PNG are typically Premultiplied with Black, whereas PNG images exported by Harmony use Straight transparency.
The following are transparency modes typically used by other software for specific file types:
- Portable Network Graphic (.png): Straight
- Photoshop Document (.psd, .psb):
- Imported as a single image: Premultiplied with White
- Imported as separated layers: Straight
- Tagged Image File Format (.tif): Premultiplied with Black
- Truevision TARGA (.tga): Straight
- Silicon Graphics Image (.sgi): Straight
- Click OK.