Within Antetype resources are any graphics that are used in the background of a cell. A resource can be anything from an icon to a larger graphical element.

Resources can be imported into Antetype in a variety of ways, from the resource inspector using the + button, via drag & drop and using cut and paste.

Valid file types

Antetype imports pixel and vector formats like:

  • PNG
  • JPEG
  • GIF
  • TIFF
  • PDF
  • EPS
  • AI
  • and many more

NOTE: EPS and PDF formats are not color managed by Antetype and colors from these file formats can not be guaranteed to be the same on all platforms.

Resource names

The names gives to resources depend on the way the resource was added to Antetype. A resource created from a file will have the filename of the resource, resources that are dragged or pasted into Antetype will have names based on the identifiers passed to Antetype.

It is not possible to have two resources with the same name within Antetype and when Antetype detects that an imported resource has the same name as an existing resource the user is prompted to ask if the imported resource should overwrite and replace the existing resource or not import the resource. This behaviour is useful when updating resoruces because all the places where an existing resource is used will be updated with the replaced resource. To import a resource with a duplicate name, either change the filename of the resource to import or change the name of the resource in the resource inspector.

Drag and Drop

Compatible files that are dropped on to an Antetype canvas are copied into the resource inspector and a rectangle cell is created with the graphical representation of the file as the cell's background. The created cell is placed at the same level in the hierarchy as the currently selected cell.

For apps that support the dragging of resources it is possible to drag an image resource from another app into Antetype, the behaviour is identical to that of a dragged file, but the name of the resource may not match the original.

Resources dragged onto the resource inspector are just loaded into the resource inspector and no cells are created.

Cut & Paste

Adding a resource that has been cut or copied from another app and placed on the OS X clipboard is as easy as dragging a resource to Antetype.

A normal paste operation (⌘V) adds the pasted resource to the resource inspector and creates a rectangle cell with a representation of the resource as the background, for normal paste this resource is placed at the top of the current screen hierarchy.

It is also possible to perform a Paste Inside operation (⇧⌘V) this works just as the normal paste operation, but pastes the new cell inside the currently selected item in the screen hierarchy.

When importing resources into Antetype via the clipboard attention needs to be paid to how the resource is put on the clipboard by the source application, Antetype must recognise the resource as a valid type as listed above, in some cases it is better to use drag and drop to import resources or even to export and explicitly import into Antetype.

NOTE: Pasting a copied resource multiple times into Antetype will result in a single entry in the resource inspector, but if the resource is re-copied (⌘C) from the source application it is given a different identifier and will be treated as a different resource in Antetype.

Using resource inspector

Within the resource inpsector there is a + button that can be used to import resources into Antetype, pressing the + button opens a file selection dialog, where a user can choose relevant files to import into ANTEYPE.

Files imported in this way are only loaded into the resource inspector and cells are not created on a screen.