PHP.mk документација

Imagick::getImageInterlaceScheme

Почист и полокален преглед на PHP референцата, со задржана структура од PHP.net и подобра читливост за примери, секции и белешки.

imagick.getimageinterlacescheme.php PHP.net прокси Преводот се освежува
Оригинал на PHP.net
Патека imagick.getimageinterlacescheme.php Локална патека за оваа страница.
Извор php.net/manual/en Оригиналниот HTML се реупотребува и локално се стилизира.
Режим Прокси + превод во позадина Кодовите, табелите и белешките остануваат читливи во истиот тек.
Imagick::getImageInterlaceScheme

Референца за `imagick.getimageinterlacescheme.php` со подобрена типографија и навигација.

imagick.getimageinterlacescheme.php

Imagick::getImageInterlaceScheme

(PECL imagick 2, PECL imagick 3)

Imagick::getImageInterlaceSchemeЈа добива шемата за преплетување на сликата

= NULL

public Imagick::getImageInterlaceScheme(): int

Ја добива шемата за преплетување на сликата.

Параметри

Оваа функција нема параметри.

Вратени вредности

Returns the interlace scheme as an integer on success. Throw an ImagickException при грешка.

Белешки од корисници 1 белешка

Keisial на gmail точка com
пред 13 години
Image Interlacing is simply combining two images by layering one over the other with a certain opacity (usually 50%).  The intention is to use the image in video, so that two images are displayed within one single frame, thereby doubling the frames-per-second without doubling the actual, physical amount of frames.  Wikipedia provides a fairly decent explanation of this type of video technology: http://en.wikipedia.org/wiki/Interlaced_video .

Best Description :
http://www.100fps.com/

Some sample code :

<?php

            // Author: [email protected]
    
        // Imagick Type
        // ---------------------------------------------

    $imagick_type = new Imagick();
    
        // Open File
        // ---------------------------------------------
        
    $file_to_grab = "image_workshop_directory/test.jpg";
    
    $file_handle_for_viewing_image_file = fopen($file_to_grab, 'a+');
    
        // Grab File
        // ---------------------------------------------

    $imagick_type->readImageFile($file_handle_for_viewing_image_file);
    
        // Get Rendering Intent Values
        // ---------------------------------------------

    $imagick_rendering_intent = $imagick_type->getImageRenderingIntent();
    
    switch($imagick_rendering_intent)
    {
        case '0':
            $image_rendering_intent_evaluated = "Undefined";
            break;
            
        case '1':
            $image_rendering_intent_evaluated = "Saturation";
            break;
            
        case '2':
            $image_rendering_intent_evaluated = "Perceptual";
            break;
            
        case '3':
            $image_rendering_intent_evaluated = "Absolute";
            break;
            
        case '4':
            $image_rendering_intent_evaluated = "Relative";
            break;
    }
    
        // Print Rendering Intent Values
        // ---------------------------------------------
    
    print("# $imagick_rendering_intent - $image_rendering_intent_evaluated");

?>
Навигација

Прелистувај сродни теми и функции.

На оваа страница

Автоматски outline од активната документација.

Насловите ќе се појават тука по вчитување.

Попрегледно читање

Примерите, changelog табелите и user notes се визуелно издвоени за да не се губат во долгата содржина.

Брз совет Користи го outline-от Скокни директно на главните секции од активната страница.
Извор Оригиналниот линк останува достапен Кога ти треба целосен upstream context, отвори го PHP.net во нов tab.