Skip to content

Commit

Permalink
Image View Mode Demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameron423698 committed Mar 18, 2011
1 parent 8bf009f commit 8e95f70
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 0 deletions.
Binary file modified 1_normal.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 2_transparentPixels.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 3_tooLarge.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 4_differentSize.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

183 comments on commit 8e95f70

@gindis
Copy link

@gindis gindis commented on 8e95f70 Jun 10, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool!

@huanglong-zz
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job!

@King-fly
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

非常不错

@emir
Copy link

@emir emir commented on 8e95f70 Jun 17, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome!

@wasfever
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@ThomasAy
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Guys, it's been 3 years ! Where is this awesome feature ?

@ipa-fmw-ms
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will there be support for more than two diffs? (like 10 or so)
I would love to see a range of commits in the onion mode

@ZhihaoLau
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome

@luck2011
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

really

@EllenXi
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool

@wangkailang
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on the way

@sunapi386
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wunderbar

@taotao9125
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow

@shangguangjie
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very cool

@tf-best
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool

@leehung-witkey
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool

@robertwbradford
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff. @cameronmcefee, is there a roadmap for supporting other file formats? .ai files would be really great!

@longhua
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is great!

@Domonlee
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is great!

@stevetsangit
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个太好了

@BuddyZH
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very good

@lisiqiong
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so cool

@woodlou
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool~

@istro
Copy link

@istro istro commented on 8e95f70 Mar 19, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SO awesome. I just discovered it accidentally when I changed some images. Nice surprise. Thanks guys, you rock!!!

@iqiancheng
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

amazing!

@MarsCWD
Copy link

@MarsCWD MarsCWD commented on 8e95f70 Jul 2, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prefect!!!

@xsd0720
Copy link

@xsd0720 xsd0720 commented on 8e95f70 Jul 3, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow!

@kkd927
Copy link

@kkd927 kkd927 commented on 8e95f70 Jul 27, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome!!

@anton-matosov
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

super cool image diff!!

@xxg3053
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@wy2005
Copy link

@wy2005 wy2005 commented on 8e95f70 Aug 31, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

漂亮

@linkinparkzlz
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool

@nooop3
Copy link

@nooop3 nooop3 commented on 8e95f70 Sep 20, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

amazing!!!

@Antony138
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@LineToAnyWhere
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool!

@hungryfoolisher
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome!

@soberzhou
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's so awesome !
BTW, i hope can support .psd & .sketch

@kuangyun
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so great!

@AdamQwy
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The function is so cool! BUT!

❓ where's the module of Difference .
I just saw the illustration at the blog titled Behold: Image view modes . And it guided me here.
This picture is what I copyed form the blog.
image
❓ Did you guys remove this mode.
I thought it's the coolest mode.
What a pity 😞

@snowluliang
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome

@xsd0720
Copy link

@xsd0720 xsd0720 commented on 8e95f70 Aug 16, 2016 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bluzioo
Copy link

@bluzioo bluzioo commented on 8e95f70 Dec 4, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, it's impressive

@daohewang
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't say anything but cool

@liujunyang
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so cool

@khevbin21
Copy link

@khevbin21 khevbin21 commented on 8e95f70 Aug 1, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this project work on fingerprints?

@PerterFung
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitHub入门与实践 take me here

@Beplocks
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WTF D:

@snowman
Copy link

@snowman snowman commented on 8e95f70 Jan 24, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is the difference mode gone?!!

Hey, Buddy, just hold on and calm down.

#!/usr/bin/env python
# -*- coding: utf-8 -*-

from PIL import Image
from PIL import ImageChops

def compare_images(old_pic_path, new_pic_path, diff_pic_path=None):
    """
    Compare the difference between two pictures, show results
    """
    old_pic = Image.open(old_pic_path)
    new_pic = Image.open(new_pic_path)

    diff_pic = ImageChops.difference(old_pic, new_pic)

    if diff_pic.getbbox() is None:
        return

    diff_pic.show()

    if diff_pic_path:
       diff_pic.save(diff_pic_path)

@colinli
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个功能很赞啊

@Power008
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool!

@LightmanLu
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

666,不知道,怎么下载这个软件啊

@YinanF
Copy link

@YinanF YinanF commented on 8e95f70 May 19, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome!

@gaotong6434
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so cool

@taejs
Copy link

@taejs taejs commented on 8e95f70 Oct 23, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cannot see it

@hezhujun
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cannot see it

me too

@Chena2003
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitHub入门与实践 take me here

Me too 👍

@Smithkenny
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice!

@secheverryl
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excuse me guys, but how I can use this mode. Is not clear for me. thanks.

@Toin1779712664
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very cool!

@dyoshino88
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool!!

Please sign in to comment.