П О Р Т А Л                            
С Е Т Е В Ы Х                          
П Р О Е К Т О В                        
  
Поиск по сайту:
                                                 
Главная

О проекте

Web-мастеру
     HTML & JavaScript
     SSI
     Perl
     PHP
     XML & XSLT
     Unix Shell

MySQL

Безопасность

Хостинг

Другое








Самое читаемое:

Учебник PHP - "Для Чайника".
Просмотров 4393 раз(а).

Иллюстрированный самоучитель по созданию сайтов.
Просмотров 6991 раз(а).

Учебник HTML.
Просмотров 3896 раз(а).

Руководство по PHP5.
Просмотров 287 раз(а).

Хостинг через призму DNS.
Просмотров 5124 раз(а).

Подборка текстов стандартных документов.
Просмотров 56462 раз(а).

Учебник PHP - Самоучитель
Просмотров 3933 раз(а).

Документация на MySQL (учебник & справочное руководство)
Просмотров 9192 раз(а).

Внешние атаки...
Просмотров 4852 раз(а).

Учебник PHP.
Просмотров 3327 раз(а).

SSI в примерах.
Просмотров 327 раз(а).



 
 
| Добавить в избранное | Сделать стартовой | Помощь





Руководство по PHP
Пред. След.

imagejpeg

(PHP 3 >= 3.0.16, PHP 4, PHP 5)

imagejpeg -- Output image to browser or file

Description

bool imagejpeg ( resource image [, string filename [, int quality]] )

imagejpeg() creates the JPEG file in filename from the image image. The image argument is the return from the imagecreatetruecolor() function.

The filename argument is optional, and if left off, the raw image stream will be output directly. To skip the filename argument in order to provide a quality argument just use an empty string (''). By sending an image/jpeg content-type using header(), you can create a PHP script that outputs JPEG images directly.

Замечание: JPEG support is only available if PHP was compiled against GD-1.8 or later.

quality is optional, and ranges from 0 (worst quality, smaller file) to 100 (best quality, biggest file). The default is the default IJG quality value (about 75).

If you want to output Progressive JPEGs, you need to set interlacing on with imageinterlace().

See also imagepng(), imagegif(), imagewbmp(), imageinterlace() and imagetypes().


Пред. Начало След.
imageistruecolor Уровень выше imagelayereffect


Если Вы не нашли что искали, то рекомендую воспользоваться поиском по сайту:
 





Copyright © 2005-2016 Project.Net.Ru