Results of 1 - 10 of about 33 for Compressed (0.004 sec.)
- imagebmp — ビットマップ画像をブラウザかファイルに出力する | PHP 8.3 11374
- imagebmp (PHP 7 >= 7.2.0, PHP 8) imagebmp — ビットマップ画像をブラウザかファイルに出力する 説明 function imagebmp ( GdImage $image , resource | string | null $file = null , bool $compressed = true ): bool 与えられた image のビットマップ版を
... を戻した後で自動的にクローズされます)。省略したり null を設定したりした場合は、画像ストリームを直接出力します。 注意 : 引数 compressed が指定されない場合、 null は不正な値になります。 compressed ビットマップをランレングス法(RLE)を使って圧縮するかどうか。 戻 ... クラスのインスタンスを期待するようになりました。 これより前のバージョンでは、有効な gd resource が期待されていました。 8.0.0 compressed の型は、 bool になりました。 これより前のバージョンでは、数値型でした。 例 例1 ビットマップファイルを保存する <?php // 空の ...
-
https://man.mtool.work/php/8.3/function.imagebmp.html
- 例 | PHP 8.3 11374
- 例 テンポラリファイルをオープンし、テスト用文字列を書きこみ、 続いて、このファイルの内容を 2 回出力します。 例1 簡単な Zlib の例 <?php $filename = tempnam ( '/tmp' , 'zlibtest' ) . '.gz' ; echo "<html>\n<head></head>\n<body>\n<pre>\n" ; $s
... ; ?> 例2 インクリメンタルな圧縮および伸長の API <?php // GZIP 圧縮 $deflateContext = deflate_init ( ZLIB_ENCODING_GZIP ); $compressed = deflate_add ( $deflateContext , "Data to compress" , ZLIB_NO_FLUSH ); $compressed .= deflate_add ( $deflateContext , ", ... more data" , ZLIB_NO_FLUSH ); $compressed .= deflate_add ( $deflateContext , ", and even more data!" , ZLIB_FINISH ); // GZIP 伸長 $inflateContext = inflate_init ( ... ZLIB_ENCODING_GZIP ); $uncompressed = inflate_add ( $inflateContext , $compressed , ZLIB_NO_FLUSH ); $uncompressed .= inflate_add ( $inflateContext , NULL , Z ...
-
https://man.mtool.work/php/8.3/zlib.examples.html
- Yac::dump — Dump cache entries for inspection | PHP 8.3 10925
- Yac::dump (PECL yac >= 1.0.0) Yac::dump — Dump cache entries for inspection 説明 public function Yac::dump ( int $limit = 100 , int $offset = 0 ): array Dumps metadata of the entries currently stored in the cache. The values themselves are
... indicates an expired or deleted entry. k_len The length of the key, in bytes. v_len The length of the value, in bytes. For compressed entries this is the length of the original value before compression (as of yac 2.4.0; earlier versions reported the stored ... , compressed length). c_len Only present for compressed entries (as of yac 2.4.0): the length of the compressed payload actually stored ... t itself) have crc and size set to zero; entries stored in a separate value block carry their checksum and block size, and compressed entries additionally carry c_len . 例2 Paging through a large cache limit bounds how many entries a single call returns, a ...
-
https://man.mtool.work/php/8.3/yac.dump.html
- gzdeflate — 文字列を deflate 圧縮する | PHP 8.3 10620
- gzdeflate (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) gzdeflate — 文字列を deflate 圧縮する 説明 function gzdeflate ( string $data , int $level = -1 , int $encoding = ZLIB_ENCODING_RAW ): string | false この関数は、 DEFLATE データフォーマットを用
... いて 与えられた文字列を圧縮します。 DEFLATE 圧縮アルゴリズムについての詳細は、 " » DEFLATE Compressed Data Format Specification version 1.3 " (RFC 1951) を参照ください。 パラメータ data 収縮させるデータ level 圧縮レベル。圧縮 ... g 定数 ZLIB_ENCODING_ * のいずれか。 戻り値 収縮された文字列、もしくはエラーの場合 false 。 例 例1 gzdeflate() の例 <?php $compressed = gzdeflate ( 'Compress me' , 9 ); echo $compressed ; ?> 参考 gzinflate() - deflate圧縮された文字列を解凍する gzcompress() ...
-
https://man.mtool.work/php/8.3/function.gzdeflate.html
- gzcompress — 文字列を圧縮する | PHP 8.3 10476
- gzcompress (PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8) gzcompress — 文字列を圧縮する 説明 function gzcompress ( string $data , int $level = -1 , int $encoding = ZLIB_ENCODING_DEFLATE ): string | false この関数は、 ZLIB データフォーマットを用いて
... 与えられた文字列を圧縮します。 ZLIB 圧縮アルゴリズムについての詳細は、 " » ZLIB Compressed Data Format Specification version 3.3 " (RFC 1950) を参照ください。 注意 : これは、いくつかのヘッダデータを有する gzip 圧縮 ... 定数 ZLIB_ENCODING_ * のいずれか。 戻り値 圧縮された文字列、もしくはエラーの場合 false 。 例 例1 gzcompress() の例 <?php $compressed = gzcompress ( 'Compress me' , 9 ); echo $compressed ; ?> 参考 gzdeflate() - 文字列を deflate 圧縮する gzinflate() - defla ...
-
https://man.mtool.work/php/8.3/function.gzcompress.html
- 実行時設定 | PHP 8.3 9866
- 実行時設定 php.ini の設定により動作が変化します。 Yac 設定オプション 名前 デフォルト 変更可能 変更履歴 yac.compress_threshold 4K INI_SYSTEM yac.debug 0 INI_ALL yac.enable 1 INI_SYSTEM yac.enable_cli 0 INI_SYSTEM yac.keys_memory_size 8M INI_
... レクティブに関する 簡単な説明を示します。 yac.compress_threshold int Serialized values larger than this number of bytes are compressed (with LZ4, since Yac 2.4.0) before being stored. Values above the 1M stored entry limit ( YAC_MAX_RAW_COMPRESSED_LEN ) are ... always compressed regardless of this setting, because they cannot be stored uncompressed. The default of 4K enables compression; -1 disables ...
-
https://man.mtool.work/php/8.3/yac.configuration.html
- Imagick::setSamplingFactors — 画像のサンプリング係数を設定する | PHP 8.3 9722
- Imagick::setSamplingFactors (PECL imagick 2, PECL imagick 3) Imagick::setSamplingFactors — 画像のサンプリング係数を設定する 説明 public function Imagick::setSamplingFactors ( array $factors ): bool 画像のサンプリング係数を設定します。 パラメ
... h ( $imagePath )); $imagick -> setImageFormat ( 'jpg' ); $imagick -> setSamplingFactors (array( '2x2' , '1x1' , '1x1' )); $compressed = $imagick -> getImageBlob (); $reopen = new \Imagick (); $reopen -> readImageBlob ( $compressed ); $reopen -> resizeImage ...
-
https://man.mtool.work/php/8.3/imagick.setsamplingfactors.html
- Memory Management | PHP 8.3 9577
- Memory Management Yac keeps its data in two independent shared-memory pools, configured with yac.keys_memory_size and yac.values_memory_size . They fill up and free up in different ways, so it helps to know which pool a symptom belongs to b
... ointer to the value pool. The value pool holds the values: every stored value occupies one block of serialized bytes — the compressed form when the entry went through yac.compress_threshold . The one exception is embedded values: tiny scalars — null , true ... ues_memory_size must hold the working set of live values, and a single entry can hold at most 1 MB as stored ( YAC_MAX_RAW_COMPRESSED_LEN ). Values larger than that are therefore always compressed before being stored; a value that cannot shrink below 1 MB ... erwrite it); store less per entry: lower yac.compress_threshold if it is set above the 1024 minimum, so large payloads are compressed, and trim values that do not need to be cached in full; fails growing: values that could not be stored, most often a singl ...
-
https://man.mtool.work/php/8.3/yac.memory-management.html
- gzuncompress — 圧縮された文字列を解凍する | PHP 8.3 9128
- gzuncompress (PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8) gzuncompress — 圧縮された文字列を解凍する 説明 function gzuncompress ( string $data , int $max_length = 0 ): string | false この関数は圧縮された文字列を解凍します。 パラメータ data gzcompre
... ta の 32768 倍、もしくはオプションのパラメータ max_length 以上の場合、エラーを返します。 例 例1 gzuncompress() の例 <?php $compressed = gzcompress ( 'Compress me' , 9 ); $uncompressed = gzuncompress ( $compressed ); echo $uncompressed ; ?> 参考 gzcompress( ...
-
https://man.mtool.work/php/8.3/function.gzuncompress.html
- gzinflate — deflate圧縮された文字列を解凍する | PHP 8.3 8968
- gzinflate (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) gzinflate — deflate圧縮された文字列を解凍する 説明 function gzinflate ( string $data , int $max_length = 0 ): string | false この関数は圧縮された文字列を解凍(伸長)します。 パラメータ data gzde
... ngth に 0 以外が指定された場合、 無圧縮なデータが max_length 以上の場合、エラーを返します。 例 例1 gzinflate() の例 <?php $compressed = gzdeflate ( 'Compress me' , 9 ); $uncompressed = gzinflate ( $compressed ); echo $uncompressed ; ?> 参考 gzdeflate() - 文 ...
-
https://man.mtool.work/php/8.3/function.gzinflate.html