1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 widget = $('.image_widget') manipulation = $('.image_widget').find('.manipulation') #initialize widget.fileupload( singleFileUploads: true, autoUpload: false, ) addImage = (area, img) -> # --- ããããç»åå¦ç --- # area.prepend(img) widget.on 'fileuploadadd', (e, data) ->
Githubã§ç»åã®å·®åãè¦ãããã¢ã¼ãã話é¡ãå¼ã³ã¾ãããããã®ããã«2æã®ç»åã®å·®åã調ã¹ããã¨ãã£ã¦æã ããã¾ãããã ãããªã¨ãImageMagickã®ã³ãã³ãã©ã¤ã³ãã¼ã«ã使ãã°ããã£ã1è¡ã§å®ç¾ã§ãã¾ãã $ composite -compose difference A.jpg B.jpg diff.jpg ã¨ããã°ãA.jpg 㨠B.jpg ã®å·®åç»å diff.jpg ãä½ããã¾ãããã®å·®åç»åã¯ä»¥ä¸ã®ããã«ãªãã¾ãã ããã«ãã®å·®åç»åï¼diff.jpgï¼ããçã£é»ãªç»åããã©ããããã³ãã³ãã©ã¤ã³ã§èª¿ã¹ããã¨ãã§ãã¾ãã # å·®åããªãã£ãå ´åï¼ï¼diff.jpgã¯é»ä¸è²ã®ç»åï¼ $ identify -format "%[mean]" diff.jpg 0 # å·®åããã£ãå ´å $ identify -format "%[mean]" diff.jpg 960.8
ã¹ãã¬ãã°ã©ãã£ã¼æè¡ã使ç¨ããã³ã³ãã³ãé ä¿¡è ãåä¿¡è ããã¹ã¦ã®ç»åã¦ã¼ã¶ã¼ã対象ã«ããé»åéããã¨ãã£ã¿ã¼ã§ãã é»åéããã¨ã³ã¸ã³ãHIP(Happy Image Privacy)ã§å¾æ¥ã«ãªã大容éã®éãããã¼ã¿ãé è½ã§ãã¾ãã æå·åããã¦ãããã¨ããåãããªãå®å ¨ãªç§å¿éä¿¡ãå®ç¾ãã¾ãã Ver2.1ã§ã¤ã³ããã¯ã¹ç»åã¸ã®éããã対å¿ãã¾ããã ãã¦ã³ãã¼ã(Ver2.102)
http://github.com/tokuhirom/avatar-benchmark Perl5 ã«ããã¦æåãªç»åå¦çã©ã¤ãã©ãªã¨ããã° GraphicsMaick, ImageMagick, Imager, Imlib2, GD ãããã ã¨ãããã®ã ããã¯ããã¦ã¢ãã¿ã¼ã®ã¬ã³ããªã³ã°ãªã©ã«ã¤ããå ´åã«ã¯ã©ããé©ãã¦ããã®ãã«ã¤ãã¦ããã¹ã¦ã¿ãã ã³ã¼ãã¯ãããªãããã§ãããã package AB; use strict; use warnings; use autodie; use Imager; use GD; use Image::Imlib2; use Graphics::Magick; sub render_imager { my $img = Imager->new(); my $base = $img->read(file => 'img/base.gif') or
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}