2. Προετοιμασία εικόνων για τον ιστό

Μία από τις πιο κοινές χρήσεις του GIMP είναι η προετοιμασία εικόνων για διαδικτυακούς τόπους. Αυτό σημαίνει ότι οι εικόνες θα πρέπει να δείχνουν όσο το δυνατό πιο ωραίες, ενώ το μέγεθος του αρχείου όσο το δυνατό πιο μικρό. Αυτός ο οδηγός σας δείχνει πώς να δημιουργήσετε μικρά αρχεία με ελάχιστη απώλεια ποιότητας της εικόνας.

2.1. Εικόνες με βέλτιστη αναλογία μεγέθους/ποιότητας

An optimal image for the web depends upon the image type and the file format. Use JPEG for Photographs because they usually have many colors and great detail. An image with fewer colors, such as a button, icon, or screenshot, is better suited to the PNG format.

  1. Αρχικά, ανοίξτε την εικόνα όπως συνήθως. Άνοιξα τον Wilber ως παράδειγμα εικόνας.

    Σχήμα 6.2. Η εικόνα του Wilber ανοιγμένη σε κατάσταση RGBA

    Η εικόνα του Wilber ανοιγμένη σε κατάσταση RGBA

  2. Η εικόνα είναι τώρα σε κατάσταση RGB, με ένα πρόσθετο καναλιού άλφα (RGBA). Δεν υπάρχει συνήθως ανάγκη να έχουμε ένα άλφα κανάλι για την διαδικτυακή εικόνα σας. Μπορείτε να αφαιρέσετε το άλφα κανάλι με Ισοπέδωση εικόνας.

    Μια φωτογραφία έχει σπάνια ένα κανάλι άλφα, έτσι η εικόνα θα ανοίξει σε κατάσταση RGB παρά σε κατάσταση RGBA και δεν θα έχετε να διώξετε το άλφα κανάλι.

    [Σημείωση] Σημείωση

    If the image has a soft transition into the transparent areas, you should not remove the alpha channel, since the information used for the transition is not be saved in the file. To export an image with transparent areas that do not have a soft transition, (similar to GIF), remove the alpha channel.

  3. After you have flattened the image, export the image in the PNG format for your web site.

[Σημείωση] Σημείωση

You can export your image in the PNG format with the default settings. Always using maximum compression when creating the image. Maximum compression has no effect on image quality or the time required to display the image, but it does take longer to export. A JPEG image, however, loses quality as the compression is increased. If your image is a photograph with lots of colors, you should use jpeg. The main thing is to find the best tradeoff between quality and compression. You can find more information about this topic in Τμήμα 5.5.3, «Εξαγωγή εικόνας ως JPEG».