次ã®ããã«ãã¼ã¸å
¨ä½ã®ãµã¤ãºããã©ã¦ã¶ã¼ã®ç¸¦æ¨ªã¨ãã«å¤§ããã¨æ³å®ãã¾ãã ãã®æãscroll_width, scroll_height, row_count, col_count = 0ã«åæåãã¾ãã ãã¼ã¸ã®å³ç«¯ã«å½ããã¾ã§ã¹ã¯ãªã¼ã³ã·ã§ãããæ®ã£ã¦ç»é¢ã®æ¨ªå¹
ã®åã¹ã¯ãã¼ã«ããã®ãç¹°ãè¿ãã¦ããã¾ãã 横ã«ã¹ã¯ãã¼ã«ãã度ã«col_countãå¢ããã¾ãã å¿
é ãã§ã¯ãªãã§ããtmp_imageã®ãã¡ã¤ã«åã¯tmp_{row_count}_{col_count}.pngã¨ãã«ããã¨å¾ã§ãã¡ã¤ã«ã ãè¦ãæã«ããããããã§ãã tmp_imageãstitched_imageã«scroll_widthã¨scroll_heightã®ä½ç½®ã«è²¼ãä»ãã¾ãã ã¹ã¯ãã¼ã«ãµã¤ãºããã¼ã¸ã®æ®ããµã¤ãºãè¶
ãããæ®ãã®åã ãåãåºãã¦tmp_imageã«ä¿åãstitched_imageã«è²¼ãä»ãã¾ãã
{{#tags}}- {{label}}
{{/tags}}