<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://shiyoka.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://shiyoka.com/feed.php">
        <title>ClownWiki - php:gd</title>
        <description></description>
        <link>https://shiyoka.com/</link>
        <image rdf:resource="https://shiyoka.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-05-08T13:24:40+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://shiyoka.com/doku.php?id=php:gd:arrange&amp;rev=1739713984&amp;do=diff"/>
                <rdf:li rdf:resource="https://shiyoka.com/doku.php?id=php:gd:gd_resize_php&amp;rev=1739713984&amp;do=diff"/>
                <rdf:li rdf:resource="https://shiyoka.com/doku.php?id=php:gd:gd_sample_php&amp;rev=1739713984&amp;do=diff"/>
                <rdf:li rdf:resource="https://shiyoka.com/doku.php?id=php:gd:image_php&amp;rev=1739713984&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://shiyoka.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>ClownWiki</title>
        <link>https://shiyoka.com/</link>
        <url>https://shiyoka.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://shiyoka.com/doku.php?id=php:gd:arrange&amp;rev=1739713984&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-16T13:53:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>arrange</title>
        <link>https://shiyoka.com/doku.php?id=php:gd:arrange&amp;rev=1739713984&amp;do=diff</link>
        <description>配置


───────────────────────────────────────
GD
├ imagecache
│ ├ 111e9ddab6170f13f33e7cd47e25e816
│ ├ 12c0578bbbadef18e272cd88e767b549
│ ├ 3161d1b0a7beeb7f46749121a3e40630
│ ├ a997870b7d6794fb190c8c089877bbba
│ ├ b1b10345a12009e779cbea43abbf6708
│ └ edc04bcaebd42f05c75f124a3468f6c0
├ gd_resize.php
├ gd_sample.php
├ image.php
├ PHOT00000000000756AA.jpg
├ PHOT00000000000756F2.jpg
├ PHOT000000000007571C.jpg
├ PHOT000000000007571E.jpg
├ PHOT000000000007572E.jpg
├ PHOT000000000007572F.jpg
└ Thumbs.db…</description>
    </item>
    <item rdf:about="https://shiyoka.com/doku.php?id=php:gd:gd_resize_php&amp;rev=1739713984&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-16T13:53:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>gd_resize_php</title>
        <link>https://shiyoka.com/doku.php?id=php:gd:gd_resize_php&amp;rev=1739713984&amp;do=diff</link>
        <description>&lt;?php
	// JPEG画像を読み込む
	$tmp_name=$_GET[&#039;tmp_name&#039;];
	// 縮小後の横サイズ。縦サイズは元の画像と縦横比が同じになるように調節する
	$ResizeX=$_GET[&#039;ResizeX&#039;];
	
	$im_inp = ImageCreateFromJPEG($tmp_name);
	$ix = ImageSX($im_inp);    // 読み込んだ画像の横サイズを取得
	$iy = ImageSY($im_inp);    // 読み込んだ画像の縦サイズを取得
	$ox = $ResizeX;			   // サイズ変更後の横サイズ
	$oy = ($ox * $iy) / $ix;   // サイズ変更後の縦サイズ
	
	// サイズ変更後の画像データを生成
	$im_out = ImageCreateTrueColor($ox, $oy);
	//ImageCopyResized($im_out, $im_inp, 0, 0, 0, 0, $ox, $oy, $ix, $iy);
	
	ImageCopyResampled($im…</description>
    </item>
    <item rdf:about="https://shiyoka.com/doku.php?id=php:gd:gd_sample_php&amp;rev=1739713984&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-16T13:53:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>gd_sample_php</title>
        <link>https://shiyoka.com/doku.php?id=php:gd:gd_sample_php&amp;rev=1739713984&amp;do=diff</link>
        <description>&lt;?php
	$baseURL = $_SERVER[&quot;HTTP_REFERER&quot;];
?&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;画像の縮小表示&lt;/title&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;form enctype=&quot;multipart/form-data&quot; method=post action=&quot;gd_sample.php&quot; target=_brank&gt;
&lt;h1 align=center&gt;画像の縮小表示&lt;/h1&gt;
&lt;p&gt;
	&lt;a href=&quot;PHOT000000000007571E.jpg&quot; target=&quot;_new&quot;&gt;&lt;img src=&quot;gd_resize.php?tmp_name=PHOT000000000007571E.jpg&amp;ResizeX=300&quot;&gt;&lt;/a&gt;
	&lt;img src=&quot;gd_resize.php?tmp_name=PHOT000000000007571C.jpg&amp;ResizeX=200&quot;&gt;
	&lt;img src=&quot;gd_resize.php?tmp_name=PHOT00000000000756F2.jpg&amp;ResizeX=100&quot;&gt;
	&lt;br&gt;
	&lt;…</description>
    </item>
    <item rdf:about="https://shiyoka.com/doku.php?id=php:gd:image_php&amp;rev=1739713984&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-16T13:53:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>image_php</title>
        <link>https://shiyoka.com/doku.php?id=php:gd:image_php&amp;rev=1739713984&amp;do=diff</link>
        <description>&lt;?php
// Smart Image Resizer 1.4.1
// Resizes images, intelligently sharpens, crops based on width:height ratios, color fills
// transparent GIFs and PNGs, and caches variations for optimal performance

// Created by: Joe Lencioni (http://shiftingpixel.com)
// Date: August 6, 2008
// Based on: http://veryraw.com/history/2005/03/image-resizing-with-php/

/////////////////////
// LICENSE
/////////////////////

// I love to hear when my work is being used, so if you decide to use this, feel encoura…</description>
    </item>
</rdf:RDF>
