Flylib.com

Books Software

 
 
 

WORKING WITH IMAGE COMPRESSION


WORKING WITH IMAGE COMPRESSION

In the Output panel of the Export Adobe PDF dialog, you have certain options for compressing the images in your document to help with file size . As mentioned earlier, compression can be applied to color , grayscale, and monochrome images (see Figure 31.14).

Figure 31.14. Take care when compressing images in your PDF; this can make the file smaller, but it can also degrade image quality if you print to a high-resolution output device.


Your choices include

  • Average Downsampling , which replaces specific pixels in the image with the average pixel color in a sample area.

  • Subsampling , which picks a pixel in the center of a sample area and uses it as the color for the entire area. This results in the fastest conversion time, but the least smooth look.

  • Bicubic Downsampling , which uses a weighted average to sample pixel color. This results in the slowest conversion time, but has the smoothest appearance.

Choose from the following compressed image formats:

  • Automatic ( JPEG ) , which is the best quality for color and grayscale images. This option is available only for documents exported to Acrobat 6 and later.

  • JPEG , which tries to reduce file size with the least amount of lost information.

  • ZIP , which can be lossless or lossy, depending on whether the resolution is set at or below the image's original resolution.

  • JPEG 2000 , which is the international standard compression format. This option enables you to set progressive display (enter the number of tiles in the field to the right) and is available only in documents set to export to Acrobat 6 or higher.

  • Automatic JPEG 2000 , which automatically determines the best quality for image reproduction.

The Image Quality pop-up menu determines the amount of compression.

For monochromatic images, the compression options include CCITT, which is good for black-and-white images. Group 4 is a general purpose compression method; Group 3 is used by fax machines and compresses the bitmaps one row at a time. Run Length compression works well for images with large solid areas of black or white.

The Compress Text and Line Art option applies a flat compression without degrading detail or quality.

The Crop Image Data to Frames option deletes image areas that are hidden outside the frames in which they are placed.



EXPORTING TO GOLIVE

Most people use InDesign to set up files for printing, but there are obviously many options that deal with document navigation in a way that is very web-like. Because of that, you might want to design documents in InDesign and then repurpose them for the web by exporting them to GoLive.

First, let's look at what happens to your documents when you package them for GoLive:

  • Text stories are converted to XML files and saved with the extension .incd .

  • Character and paragraph styles are converted to CSS (Cascading Style Sheets).

  • Linked objects are packaged with the fileif they are placed images or graphics, they are converted to TIFFs.

  • Nonprinting objects are not included in the package.

To package a file, select File, Package for GoLive. Browse to the location where you want to save the package, name it, and click Package. You can also select Package for GoLive from the Book palette menu if you'd like to package an entire book. The dialog shown in Figure 31.15 opens.

Figure 31.15. You can repurpose documents and create web pages when you export them to GoLive.


Choose from the following options in the Pages section of the Package for GoLive dialog:

  • All packages everything in the document.

  • Range enables you to enter a range of pages to package.

  • Selection packages anything you have selected on the page.

  • Include Hidden Layers packages items on hidden layers.

If you want to view the package after it is exported, select the View Package When Complete option.

Choose how the file should be encoded. This choice must match how your GoLive web page is encoded.

Choose to package Original Images to copy graphics files as they are, or select Formatted Images to copy them as they are in the InDesign document. An example of a formatted image is including only the cropped area of a placed image.

You can package only InDesign CS2 documents for use with GoLive CS2.


If you placed movies or sounds in your document, you can choose to copy them with your files.

The package that's created contains a file with the extension .idpk an XML file that tells GoLive how the page should be created. A PDF shows the layout of the document, and content can be dragged from the PDF to the GoLive page. An Assets folder contains folders for stories, images, formatted images, movies, and sounds.