Chapter 8. Import/Exporting

If you attend a family party, a company meeting, a conference, or any other event where other KPhotoAlbum users may be present, you may wish to share your images with those people. You may of course choose to generate HTML pages for them to browse, but given you already have spent time classifying all images (Who is on the images, where were they taken etc), there are no reason for them to redo all that work.

KPhotoAlbum allows you to export a set of your images into a .kim file, which other people may import into their database, to get your classification for these images.

Two different kind of .kim files exists, inlines or externals, referring to whether the images them self are located in the file or at some other location. Placing the images in the file has the obvious advantage that the file is self contained, while it has the equally obvious disadvantage of the file being rather big.

There are two places from which you may generate a .kim file, namely directly from FileExport..., or along with HTML pages (see Chapter 7, Generating HTML). Creating a .kim file during HTML export will create an external .kim file.

External .kim files will search for images in one of two ways. First it will try to look for the images next to the .kim file, and if not found, it will search for them at the URL specified when the .kim file was created. Notice the later is only possible for .kim files created during HTML export.

Export Dialog

This section will tell you about the export dialog which you get to from FileExport....

The most important part of this dialog is specifying whether the .kim file should be internal or external (see description above). You have the following three options:

  • Include in .kim file - this will be an internal file

  • Manual copy next to .kim file - Here you must copy the images yourself next to the .kim file

  • Automatically copy next to .kim file - here KPhotoAlbum will copy the images for you.

Between you and me, .kim files are really just zip files. Normally it is not worth bothering compressing the files because images normally are compressed JPEG already, and the XML file itself are really tiny. If you really want to squish out the last few bytes, you may still do so, by checking Compress Export File

The final option on the page are Limit maximum image dimension. When sending some images to some friends, you may not want to send images in full size, as the .kim file might be huge. For this, you may specify that the maximum dimension of images should be say maximum 800 pixels in each direction.