HSP¥Ý¡¼¥¿¥ë
¥µ¥¤¥È¥Þ¥Ã¥× ¤ªÌ䤤¹ç¤ï¤»


HSPTV!·Ç¼¨ÈÄ


̤²ò·è ²ò·è Ää»ß ºï½üÍ×ÀÁ

2024
0414
Gonzo Shan¥¢¥ë¥Õ¥¡¥Á¥ã¥ó¥Í¥ëÉÕPNG¤Î¹çÀ®Êݸ2²ò·è


Gonzo Shan

¥ê¥ó¥¯

2024/4/14(Sun) 00:58:24|NO.101520

ÇطʲèÁü¤Ë¥¢¥ë¥Õ¥¡¥Á¥ã¥ó¥Í¥ëÉÕ¤­¤ÎPNG¥Õ¥¡¥¤¥ë¤ò½Å¤Í¹ç¤ï¤»¤Æ¤½¤ì¤òPNG·Á¼°¤ÇÊݸ¤¹¤ë
¥¹¥¯¥ê¥×¥È¤òÁȤ⤦¤È¤·¤Æ¤¤¤Þ¤¹¡£

#include "a2d.hsp"
alCreateImageByFile 0, "d:\\project\\project-t\\haikeitest.png"
screen 1,576,1024
picload "d:\\project\\project-t\\ha1.png"
alCopyImageToScreen 1,0,0,0,576,1024,0,0
alSaveFile "d:\\project\\project-t\\haikeitest7.png","image/png",0,0,576,1024
stop

¤³¤ó¤Ê¤Õ¤¦¤Ë½ñ¤¤¤Æ¤¤¤ë¤ó¤Ç¤¹¤¬ÇطʲèÁü¤À¤±¤¬Êݸ¤µ¤ì¤Þ¤¹¡£
ÇطʲèÁü¤ò¸Æ¤ó¤À¤¢¤È¡¢picload¤Ç½Å¤Í¹ç¤ï¤»²èÁü¤ò¸Æ¤Ö¤È¤¦¤Þ¤¯¤¤¤¯¤Î¤Ç¤¹¤¬
¤ä¤ê¤¿¤¤¤Î¤Ï½Å¤Í¹ç¤ï¤»²èÁü¤Î¾ì½ê¤ò»ØÄꤷ¤Æ¹çÀ®¤·¤¿¤¤¤Î¤Ç¤¹
¾åµ­¤Î¥¹¥¯¥ê¥×¥È¤Ç¤¦¤Þ¤¯¤¤¤«¤Ê¤¤¤Î¤Ï¤Ê¤¼¤Ç¤·¤ç¤¦¤«¡£¤´¶µ¼¨¤ª¤Í¤¬¤¤¤¤¤¿¤·¤Þ¤¹¡£



¤³¤Îµ­»ö¤ËÊÖ¿®¤¹¤ë


Tsuyoshi

¥ê¥ó¥¯

2024/4/14(Sun) 13:17:58|NO.101522

Gonzo Shan¤µ¤ó¤Î¥¹¥¯¥ê¥×¥È¤Ë¥³¥á¥ó¥È¤òÉÕ¤±¤ÆÀâÌÀ¤µ¤»¤Æ¤¤¤¿¤À¤­¤Þ¤¹¡£


--------------------------------------------------------------------

#include "a2d.hsp"

// ­¡²èÁü¥Õ¥¡¥¤¥ë¤òa2d¤Î¥¹¥¯¥ê¡¼¥óID:0¤ËÆɤ߹þ¤ß
alCreateImageByFile 0, "d:\\project\\project-t\\haikeitest.png"

// ­¢HSP¥¹¥¯¥ê¡¼¥ó¤òID:1¤ÇºîÀ®¤·¡¢²èÁü¤òÆɤ߹þ¤à
screen 1,576,1024
picload "d:\\project\\project-t\\ha1.png"

// ­£ ­¡¤ÇÆɤ߹þ¤ó¤À²èÁü¤òHSP¤Î¥¹¥¯¥ê¡¼¥óID:1¤Ë¹çÀ®
alCopyImageToScreen 1,0,0,0,576,1024,0,0

// ­¤a2d¤Î¥¹¥¯¥ê¡¼¥óID:0¤ÎÆâÍƤòpng¤ÇÊݸ
alSaveFile "d:\\project\\project-t\\haikeitest7.png","image/png",0,0,576,1024
stop

--------------------------------------------------------------------


¤Þ¤º¡¢a2d¤Î¥¹¥¯¥ê¡¼¥óID¤ÈHSP¤Î¥¹¥¯¥ê¡¼¥óID¤ÏÊÌʪ¤Ê¤Î¤Ç¡¢
¾å¤Î¥¹¥¯¥ê¥×¥È¤À¤È­¡¤Ça2d¤Î¥¹¥¯¥ê¡¼¥ó(ID:0)¤ÇÆɤ߹þ¤ó¤À²èÁü¤ò
­¤¤Ç¤½¤Î¤Þ¤Þ½ÐÎϤ¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£

¤Ê¤Î¤Ç­£¤È­¤¤Î´Ö¤Ç¡¢HSP¤Î¥¹¥¯¥ê¡¼¥ó¾å¤Ç¹çÀ®¤·¤¿²èÁü¤òa2d¤Î¥¹¥¯¥ê¡¼¥ó¤Ë¥³¥Ô¡¼¤·¤Æ¤«¤é½ÐÎϤ¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

¤Þ¤¿¡¢­£¤Î¡ÖalCopyImageToScreen 1,0¡×¤Ç¤¹¤¬¡¢°ú¿ô¤¬µÕ¤Ç¡ÖalCopyImageToScreen 0,1¡×¤Ë¤Ê¤ê¤Þ¤¹¡£
¡ÖalCopyImageToScreen a2d¤ÎID:0,HSP¤ÎID:0¡×¤Ë¤Ê¤ê¤Þ¤¹¡£


²¼µ­¥µ¥ó¥×¥ë¥¹¥¯¥ê¥×¥È
­£¤È­¤¤Î´Ö¤Ç¿·¤·¤¤a2d¥¹¥¯¥ê¡¼¥ó(ID:1)¤òºî¤Ã¤Æ¡¢­£¤Ç¹çÀ®¤·¤¿HSP¤Î¥¹¥¯¥ê¡¼¥ó¤ÎÆâÍƤòa2d¤Î¥¹¥¯¥ê¡¼¥ó(ID:1)¤Ë¥³¥Ô¡¼¤·¤Æ¤¤¤Þ¤¹¡£

--------------------------------------------------------------------

#include "a2d.hsp"

// ­¡²èÁü¥Õ¥¡¥¤¥ë¤òa2d¤Î¥¹¥¯¥ê¡¼¥óID:0¤ËÆɤ߹þ¤ß
alCreateImageByFile 0, "d:\\project\\project-t\\haikeitest.png"

// ­¢HSP¥¹¥¯¥ê¡¼¥ó¤òID:1¤ÇºîÀ®¤·¡¢²èÁü¤òÆɤ߹þ¤à
screen 1,576,1024
picload "d:\\project\\project-t\\ha1.png"

// ­£Êѹ¹ÅÀ¡§alCopyImageToScreen¤ÎÂè1°ú¿ô¤ÈÂè2°ú¿ô¤¬µÕ
// ­¡¤ÇÆɤ߹þ¤ó¤À²èÁü¤òHSP¤Î¥¹¥¯¥ê¡¼¥óID:1¤Ë¹çÀ®
alCopyImageToScreen 0,1,0,0,576,1024,0,0

// Äɲá§a2d¤Î¥¹¥¯¥ê¡¼¥óID:1¤òºîÀ®¤·¤Æ¡¢­£¤ÎÆâÍƤò¥³¥Ô¡¼
alCreateImage 1, 576,1024 // a2d¥¹¥¯¥ê¡¼¥óID:1¤È¤·¤Æ¿·µ¬ºîÀ®
alCopyScreenToImage 1,1, 0,0, 576,1024, 0,0 // ­£¤ÎÆâÍƤò¥³¥Ô¡¼

// ­¤¿·¤·¤¯ºîÀ®¤·¤¿a2d¥¹¥¯¥ê¡¼¥óID:1¤ÎÆâÍƤòpng¤ÇÊݸ
alSelectImage 1 // ÊݸÂоݤÎa2d¤Î¥¹¥¯¥ê¡¼¥óID(°ì±þ¤É¤ì¤òÊݸ¤¹¤ë¤«¤òÌÀ¼¨¤·¤Æ¤ª¤¤¤¿Êý¤¬¤è¤¤)
alSaveFile "d:\\project\\project-t\\haikeitest7.png","image/png",0,0,576,1024
stop

--------------------------------------------------------------------



Gonzo Shan

¥ê¥ó¥¯

2024/4/14(Sun) 14:46:32|NO.101525

TsuyoshiÍÍ

ÃúÇ«¤ÊÀâÌÀ¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£¤ª¤«¤²¤µ¤Þ¤Ç²ò·è¤¤¤¿¤·¤Þ¤·¤¿¡£

»ä¤¬´ª°ã¤¤¤·¤Æ¤¤¤¿¤Î¤Ï°Ê²¼¤ÎÆâÍƤǤ¹
¡¡1.a2d¤ÎID¤ÈHSP¥¹¥¯¥ê¡¼¥óID¤¬Æ±¤¸¤â¤Î¤À¤È»×¤Ã¤Æ¤¤¤¿
¡¡2.alCopyImageToScreen Image¤«¤éScreen¤Ë¥³¥Ô¡¼¡áHSPn²èÁü¡ÊImage¡Ë¤òa2d¤Î²¾ÁÛScreen
¡¡¡¡¥³¥Ô¡¼¡¡¡¦¡¦¡¦¿¿µÕ¤Ç¤·¤¿¤Í

¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿



µ­»öºï½ü

µ­»öNO.¥Ñ¥¹¥ï¡¼¥É
(¼ÁÌ䤬²ò·è¤·¤¿¥¹¥ì¥Ã¥É¤Ï¾¤ÎÍøÍѼԤ˳èÍѤ·¤Æ¤â¤é¤¦¤¿¤á¡¢ºï½ü¤·¤Ê¤¤¤è¤¦¤ª´ê¤¤¤·¤Þ¤¹)

NO.101520¤Ø¤ÎÊÖ¿®

¥Þ¥¹¥³¥Ã¥È

¹¥¤­¤Ê¥Þ¥¹¥³¥Ã¥È¤òÁª¤ó¤Ç¤¯¤À¤µ¤¤¡£

̾Á°

e-mail
HOME
  1. ½é¤á¤ÆÍøÍѤ¹¤ëÊý¤Ï¡¢HSP3·Ç¼¨ÈĤλȤ¤Êý¤ò¤ªÆɤߤ¯¤À¤µ¤¤¡£
  2. ÉÔÍ×Éôʬ¤Î¿¤¤Ä¹¤¤¥¹¥¯¥ê¥×¥È¤ÎÅê¹Æ¤Ï ¤´±óθ¤¯¤À¤µ¤¤¡£
  3. ½ñ¤­¹þ¤ß¤Ï¼«Æ°²þ¹Ô¤µ¤ì¤Þ¤»¤ó¡£Å¬Å٤˲þ¹Ô¤òÆþ¤ì¤Æ¤¯¤À¤µ¤¤¡£
  4. ¥¹¥¯¥ê¥×¥È¤Ï¾®Ê¸»ú¤Î<pre>¡Á</pre>¤Ç°Ï¤à¤È¸«¤ä¤¹¤¯É½¼¨¤Ç¤­¤Þ¤¹¡£

ºï½üÍѥѥ¹¥ï¡¼¥É

²ò·è¤·¤¿¤é¼ÁÌä¼ÔËܿͤ¬¤³¤³¤ò¥Á¥§¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£

¥¨¥é¡¼È¯À¸»þ¡¢ºÆÁ÷¿®¤¹¤ë¤ÈÆó½ÅÁ÷¿®¤Ë¤Ê¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£
²óÅú¤¬ÆÀ¤é¤ì¤¿¤é¡¢¤ªÎé½ñ¤­¹þ¤ß»þ¤Ë[²ò·è]¥Á¥§¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£
SPAMËɻߤΤ¿¤áURL¤«¤é»Ï¤Þ¤ëʸ¾Ï¤ÏÅê¹Æ¤Ç¤­¤Þ¤»¤ó¡£
SPAMËɻߤΤ¿¤á±Ñʸ»ú¤Î¤ß¤ÎËÜʸ¤òÅê¹Æ¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£

ONION software Copyright 1997-2023(c) All rights reserved.