Permalink
Browse files

Image View Mode Demo

  • Loading branch information...
Cameron McEfee
Cameron McEfee committed Mar 18, 2011
1 parent 8bf009f commit 8e95f70c9c47168305970e91021072673d7cdad8
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.

173 comments on commit 8e95f70

@vredniy

This comment has been minimized.

Show comment
Hide comment
@vredniy

vredniy Mar 23, 2011

It's awesome, github rulez :]

vredniy replied Mar 23, 2011

It's awesome, github rulez :]

@jessegreathouse

This comment has been minimized.

Show comment
Hide comment
@jessegreathouse

jessegreathouse Mar 23, 2011

HAY WUTS GOING ON IN HERE?

jessegreathouse replied Mar 23, 2011

HAY WUTS GOING ON IN HERE?

@jgyllen

This comment has been minimized.

Show comment
Hide comment
@jgyllen

jgyllen Mar 23, 2011

wow. cool stuff!

jgyllen replied Mar 23, 2011

wow. cool stuff!

@eddiejaoude

This comment has been minimized.

Show comment
Hide comment
@eddiejaoude

eddiejaoude replied Mar 24, 2011

@github LOVE IT!

@pokonski

This comment has been minimized.

Show comment
Hide comment
@pokonski

pokonski Mar 27, 2011

Amazingly awesome, as Jobs would say!

pokonski replied Mar 27, 2011

Amazingly awesome, as Jobs would say!

@haqu

This comment has been minimized.

Show comment
Hide comment
@haqu

haqu Apr 18, 2011

nice indeed

haqu replied Apr 18, 2011

nice indeed

@eamonnmag

This comment has been minimized.

Show comment
Hide comment
@eamonnmag

eamonnmag replied Apr 19, 2011

Way cool.

@d2s

This comment has been minimized.

Show comment
Hide comment
@d2s

d2s Apr 30, 2011

Certainly, this is great thing to have. :)

Combines features similar to Kaleidoscope to GitHub and makes this service feel much more full versed for web designers. :)

d2s replied Apr 30, 2011

Certainly, this is great thing to have. :)

Combines features similar to Kaleidoscope to GitHub and makes this service feel much more full versed for web designers. :)

@green-coder

This comment has been minimized.

Show comment
Hide comment
@green-coder

green-coder replied May 23, 2011

Génial !

@nickdunn

This comment has been minimized.

Show comment
Hide comment
@nickdunn

nickdunn May 24, 2011

Cool story, bro

nickdunn replied May 24, 2011

Cool story, bro

@gorimaru

This comment has been minimized.

Show comment
Hide comment
@gorimaru

gorimaru Aug 11, 2011

画像diffまでできるのか…すごすぎる!

gorimaru replied Aug 11, 2011

画像diffまでできるのか…すごすぎる!

@eamonnmag

This comment has been minimized.

Show comment
Hide comment
@eamonnmag

eamonnmag Aug 11, 2011

^ Exactly! :)

eamonnmag replied Aug 11, 2011

^ Exactly! :)

@mrdoob

This comment has been minimized.

Show comment
Hide comment
@mrdoob

mrdoob Oct 27, 2011

I wish github allowed unsubscribing from any thread. Kind of makes you wish you never wrote that comment...

mrdoob replied Oct 27, 2011

I wish github allowed unsubscribing from any thread. Kind of makes you wish you never wrote that comment...

@aronwoost

This comment has been minimized.

Show comment
Hide comment

aronwoost replied Oct 27, 2011

+1 @mrdoob

@pokonski

This comment has been minimized.

Show comment
Hide comment
@pokonski

pokonski Oct 27, 2011

@mrdoob, you can do that :P Check at the bottom of this page:

Email notifications for these commit notes are on. Disable email notifications for this commit

pokonski replied Oct 27, 2011

@mrdoob, you can do that :P Check at the bottom of this page:

Email notifications for these commit notes are on. Disable email notifications for this commit

@mrdoob

This comment has been minimized.

Show comment
Hide comment
@mrdoob

mrdoob Oct 27, 2011

I'm not talking about emails. I'm talking about notifications.

I already have all email disabled, but I still get a notification inside github when someone writes in this thread with no option to unsubscribe.

Hope it's clear now.

mrdoob replied Oct 27, 2011

I'm not talking about emails. I'm talking about notifications.

I already have all email disabled, but I still get a notification inside github when someone writes in this thread with no option to unsubscribe.

Hope it's clear now.

@kirkegaard

This comment has been minimized.

Show comment
Hide comment
@kirkegaard

kirkegaard replied Oct 27, 2011

+1!

@saymoon

This comment has been minimized.

Show comment
Hide comment
@saymoon

saymoon Nov 2, 2011

soo cool, great job!

saymoon replied Nov 2, 2011

soo cool, great job!

@mrdoob

This comment has been minimized.

Show comment
Hide comment
@mrdoob

mrdoob replied Nov 2, 2011

FFS @github!

@liuxun349

This comment has been minimized.

Show comment
Hide comment
@liuxun349

liuxun349 Jan 5, 2012

oh,yeah!so cool

liuxun349 replied Jan 5, 2012

oh,yeah!so cool

@goldenlove

This comment has been minimized.

Show comment
Hide comment
@goldenlove

goldenlove replied Feb 28, 2012

Good job~

@BenBergman

This comment has been minimized.

Show comment
Hide comment
@BenBergman

BenBergman May 12, 2012

This looks great, but I can't seem to click the buttons to change mode. In Chromium on Arch Linux and Chrome/"Browser" on Android 4.0.1, the buttons are vertically stacked and not clickable. On Firefox in Arch Linux, the buttons aren't even there.

BenBergman replied May 12, 2012

This looks great, but I can't seem to click the buttons to change mode. In Chromium on Arch Linux and Chrome/"Browser" on Android 4.0.1, the buttons are vertically stacked and not clickable. On Firefox in Arch Linux, the buttons aren't even there.

@cameronmcefee

This comment has been minimized.

Show comment
Hide comment
@cameronmcefee

cameronmcefee May 12, 2012

Owner

@BenBergman, looks like accidentally broke it. I'll see if we can get that fixed asap.

Owner

cameronmcefee replied May 12, 2012

@BenBergman, looks like accidentally broke it. I'll see if we can get that fixed asap.

@cameronmcefee

This comment has been minimized.

Show comment
Hide comment
@cameronmcefee

cameronmcefee May 12, 2012

Owner

@BenBergman Thanks for the heads up. It should be back in action again.

Owner

cameronmcefee replied May 12, 2012

@BenBergman Thanks for the heads up. It should be back in action again.

@BenBergman

This comment has been minimized.

Show comment
Hide comment
@BenBergman

BenBergman May 12, 2012

Well, I spoke too soon. The demo doesn't work, but my own repo does.

Edit: I see you just happened to fix it between me checking your repo and mine. Thanks for the quick fix!

BenBergman replied May 12, 2012

Well, I spoke too soon. The demo doesn't work, but my own repo does.

Edit: I see you just happened to fix it between me checking your repo and mine. Thanks for the quick fix!

@mrdoob

This comment has been minimized.

Show comment
Hide comment
@mrdoob

mrdoob May 12, 2012

@cameronmcefee While you're at it, can you make it so one can unsubscribe from threads? Thanks!

mrdoob replied May 12, 2012

@cameronmcefee While you're at it, can you make it so one can unsubscribe from threads? Thanks!

@yimi128

This comment has been minimized.

Show comment
Hide comment
@yimi128

yimi128 Aug 1, 2012

WOW! cool

yimi128 replied Aug 1, 2012

WOW! cool

@mrdoob

This comment has been minimized.

Show comment
Hide comment
@mrdoob

mrdoob replied Aug 6, 2012

FFS @github!

@mrdoob

This comment has been minimized.

Show comment
Hide comment
@mrdoob

mrdoob Aug 6, 2012

Oh wow. They just added the feature. Thanks @github!

/me happily unwatches this thread.

mrdoob replied Aug 6, 2012

Oh wow. They just added the feature. Thanks @github!

/me happily unwatches this thread.

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Aug 7, 2012

ghost replied Aug 7, 2012

@hidoos

This comment has been minimized.

Show comment
Hide comment
@hidoos

hidoos Aug 22, 2012

so cool!

hidoos replied Aug 22, 2012

so cool!

@zlcolin

This comment has been minimized.

Show comment
Hide comment
@zlcolin

zlcolin Jan 8, 2013

wow, so great.

zlcolin replied Jan 8, 2013

wow, so great.

@Awezome

This comment has been minimized.

Show comment
Hide comment
@Awezome

Awezome Jan 19, 2013

awesome !

Awezome replied Jan 19, 2013

awesome !

@lashou-hxh

This comment has been minimized.

Show comment
Hide comment
@lashou-hxh

lashou-hxh replied Feb 17, 2013

very good

@willddy

This comment has been minimized.

Show comment
Hide comment
@willddy

willddy replied May 14, 2013

awesome

@hiramtan

This comment has been minimized.

Show comment
Hide comment
@hiramtan

hiramtan May 31, 2013

不错……

hiramtan replied May 31, 2013

不错……

@inchyea

This comment has been minimized.

Show comment
Hide comment
@inchyea

inchyea replied Jun 22, 2013

Awesome;

@wenxiongli

This comment has been minimized.

Show comment
Hide comment
@wenxiongli

wenxiongli replied Sep 25, 2013

very good

@ream88

This comment has been minimized.

Show comment
Hide comment
@ream88

ream88 Apr 23, 2014

Where did the difference mode go?

ream88 replied Apr 23, 2014

Where did the difference mode go?

@ottijp

This comment has been minimized.

Show comment
Hide comment
@ottijp

ottijp Apr 28, 2014

attractive!

ottijp replied Apr 28, 2014

attractive!

@MartinDelille

This comment has been minimized.

Show comment
Hide comment
@MartinDelille

MartinDelille replied Apr 30, 2014

👍

@Alexhust

This comment has been minimized.

Show comment
Hide comment
@Alexhust

Alexhust May 22, 2014

Pretty Good!

Alexhust replied May 22, 2014

Pretty Good!

@duguying

This comment has been minimized.

Show comment
Hide comment
@duguying

duguying Jun 6, 2014

wow 😄 pretty! is there any demo for psd files?

duguying replied Jun 6, 2014

wow 😄 pretty! is there any demo for psd files?

@jsw0528

This comment has been minimized.

Show comment
Hide comment
@jsw0528

jsw0528 Jun 6, 2014

强帖留名

jsw0528 replied Jun 6, 2014

强帖留名

@hoosin

This comment has been minimized.

Show comment
Hide comment
@hoosin

hoosin Jun 6, 2014

给力啊

hoosin replied Jun 6, 2014

给力啊

@aditx

This comment has been minimized.

Show comment
Hide comment
@aditx

aditx Jun 7, 2014

Cool :)

aditx replied Jun 7, 2014

Cool :)

@xiaojuntong

This comment has been minimized.

Show comment
Hide comment
@xiaojuntong

xiaojuntong Jun 7, 2014

niubilitily

xiaojuntong replied Jun 7, 2014

niubilitily

@tomeanand

This comment has been minimized.

Show comment
Hide comment
@tomeanand

tomeanand replied Jun 9, 2014

awesome!

@fengsp

This comment has been minimized.

Show comment
Hide comment
@fengsp

fengsp Jun 9, 2014

So cool!

fengsp replied Jun 9, 2014

So cool!

@VTwo-Group

This comment has been minimized.

Show comment
Hide comment
@VTwo-Group

VTwo-Group Jun 9, 2014

Awesome! واقعا شگفت انگیزه.

VTwo-Group replied Jun 9, 2014

Awesome! واقعا شگفت انگیزه.

@gindis

This comment has been minimized.

Show comment
Hide comment
@gindis

gindis replied Jun 10, 2014

Cool!

@huanglong

This comment has been minimized.

Show comment
Hide comment
@huanglong

huanglong replied Jun 10, 2014

Good job!

@King-fly

This comment has been minimized.

Show comment
Hide comment
@King-fly

King-fly Jun 14, 2014

非常不错

King-fly replied Jun 14, 2014

非常不错

@emir

This comment has been minimized.

Show comment
Hide comment
@emir

emir Jun 17, 2014

awesome!

emir replied Jun 17, 2014

awesome!

@wasfever

This comment has been minimized.

Show comment
Hide comment
@wasfever

wasfever replied Jul 6, 2014

nice!

@ThomasAy

This comment has been minimized.

Show comment
Hide comment
@ThomasAy

ThomasAy Jul 7, 2014

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

ThomasAy replied Jul 7, 2014

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

@ipa-fmw-ms

This comment has been minimized.

Show comment
Hide comment
@ipa-fmw-ms

ipa-fmw-ms Jul 7, 2014

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

ipa-fmw-ms replied Jul 7, 2014

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

This comment has been minimized.

Show comment
Hide comment
@ZhihaoLau

ZhihaoLau replied Jul 19, 2014

awesome

@luck2011

This comment has been minimized.

Show comment
Hide comment
@luck2011

luck2011 replied Jul 22, 2014

really

@EllenXi

This comment has been minimized.

Show comment
Hide comment
@EllenXi

EllenXi replied Jul 22, 2014

cool

@wangkailang

This comment has been minimized.

Show comment
Hide comment
@wangkailang

wangkailang replied Jul 24, 2014

on the way

@sunapi386

This comment has been minimized.

Show comment
Hide comment
@sunapi386

sunapi386 replied Jul 28, 2014

wunderbar

@taotao9125

This comment has been minimized.

Show comment
Hide comment
@taotao9125

taotao9125 replied Oct 5, 2014

wow

@shangguangjie

This comment has been minimized.

Show comment
Hide comment
@shangguangjie

shangguangjie replied Oct 27, 2014

very cool

@tf-best

This comment has been minimized.

Show comment
Hide comment
@tf-best

tf-best replied Oct 30, 2014

cool

@leehung-witkey

This comment has been minimized.

Show comment
Hide comment
@leehung-witkey

leehung-witkey replied Nov 3, 2014

cool

@robertwbradford

This comment has been minimized.

Show comment
Hide comment
@robertwbradford

robertwbradford Nov 11, 2014

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

robertwbradford replied Nov 11, 2014

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

@longhua

This comment has been minimized.

Show comment
Hide comment
@longhua

longhua Nov 14, 2014

It is great!

longhua replied Nov 14, 2014

It is great!

@Domonlee

This comment has been minimized.

Show comment
Hide comment
@Domonlee

Domonlee Nov 15, 2014

It is great!

Domonlee replied Nov 15, 2014

It is great!

@stevezeng

This comment has been minimized.

Show comment
Hide comment
@stevezeng

stevezeng Dec 23, 2014

这个太好了

stevezeng replied Dec 23, 2014

这个太好了

@BuddyZH

This comment has been minimized.

Show comment
Hide comment
@BuddyZH

BuddyZH Jan 14, 2015

very good

BuddyZH replied Jan 14, 2015

very good

@lisiqiong

This comment has been minimized.

Show comment
Hide comment
@lisiqiong

lisiqiong replied Jan 14, 2015

so cool

@woodlou

This comment has been minimized.

Show comment
Hide comment
@woodlou

woodlou replied Jan 14, 2015

cool~

@istro

This comment has been minimized.

Show comment
Hide comment
@istro

istro Mar 19, 2015

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

istro replied Mar 19, 2015

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

@iqiancheng

This comment has been minimized.

Show comment
Hide comment
@iqiancheng

iqiancheng replied Apr 8, 2015

amazing!

@MarsCWD

This comment has been minimized.

Show comment
Hide comment
@MarsCWD

MarsCWD Jul 2, 2015

prefect!!!

MarsCWD replied Jul 2, 2015

prefect!!!

@xsd0720

This comment has been minimized.

Show comment
Hide comment
@xsd0720

xsd0720 replied Jul 3, 2015

wow!

@kkd927

This comment has been minimized.

Show comment
Hide comment
@kkd927

kkd927 Jul 27, 2015

awesome!!

kkd927 replied Jul 27, 2015

awesome!!

@anton-matosov

This comment has been minimized.

Show comment
Hide comment
@anton-matosov

anton-matosov Aug 21, 2015

super cool image diff!!

anton-matosov replied Aug 21, 2015

super cool image diff!!

@xxg3053

This comment has been minimized.

Show comment
Hide comment
@xxg3053

xxg3053 replied Aug 28, 2015

nice!

@wy2005

This comment has been minimized.

Show comment
Hide comment
@wy2005

wy2005 replied Aug 31, 2015

漂亮

@linkinparkzlz

This comment has been minimized.

Show comment
Hide comment
@linkinparkzlz

linkinparkzlz replied Sep 3, 2015

cool

@zhendongguan

This comment has been minimized.

Show comment
Hide comment
@zhendongguan

zhendongguan replied Sep 20, 2015

amazing!!!

@Antony138

This comment has been minimized.

Show comment
Hide comment
@Antony138

Antony138 replied Oct 16, 2015

Awesome!

@LineToAnyWhere

This comment has been minimized.

Show comment
Hide comment
@LineToAnyWhere

LineToAnyWhere replied Mar 2, 2016

cool!

@hungryfoolisher

This comment has been minimized.

Show comment
Hide comment
@hungryfoolisher

hungryfoolisher replied Mar 27, 2016

awesome!

@soberzhou

This comment has been minimized.

Show comment
Hide comment
@soberzhou

soberzhou Mar 30, 2016

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

soberzhou replied Mar 30, 2016

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

@kuangyun

This comment has been minimized.

Show comment
Hide comment
@kuangyun

kuangyun replied Mar 30, 2016

so great!

@AdamQwy

This comment has been minimized.

Show comment
Hide comment
@AdamQwy

AdamQwy May 26, 2016

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 😞

AdamQwy replied May 26, 2016

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

This comment has been minimized.

Show comment
Hide comment
@snowluliang

snowluliang Aug 16, 2016

This is awesome

snowluliang replied Aug 16, 2016

This is awesome

@xsd0720

This comment has been minimized.

Show comment
Hide comment
@xsd0720

xsd0720 Aug 16, 2016

xsd0720 replied Aug 16, 2016

@bluzioo

This comment has been minimized.

Show comment
Hide comment
@bluzioo

bluzioo Dec 4, 2016

Cool, it's impressive

bluzioo replied Dec 4, 2016

Cool, it's impressive

@daohewang

This comment has been minimized.

Show comment
Hide comment
@daohewang

daohewang May 31, 2017

I can't say anything but cool

daohewang replied May 31, 2017

I can't say anything but cool

@liujunyang

This comment has been minimized.

Show comment
Hide comment
@liujunyang

liujunyang replied Jul 11, 2017

so cool

@khevbin21

This comment has been minimized.

Show comment
Hide comment
@khevbin21

khevbin21 Aug 1, 2017

does this project work on fingerprints?

khevbin21 replied Aug 1, 2017

does this project work on fingerprints?

@PerterFung

This comment has been minimized.

Show comment
Hide comment
@PerterFung

PerterFung Sep 9, 2017

GitHub入门与实践 take me here

PerterFung replied Sep 9, 2017

GitHub入门与实践 take me here

@Beplocks

This comment has been minimized.

Show comment
Hide comment
@Beplocks

Beplocks replied Nov 4, 2017

WTF D:

@balalaXD

This comment has been minimized.

Show comment
Hide comment
@balalaXD

balalaXD Jan 24, 2018

WHERE IS THE DIFFERENCE MODE GONE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Hey, Buddy, just hold on... 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)

balalaXD replied Jan 24, 2018

WHERE IS THE DIFFERENCE MODE GONE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Hey, Buddy, just hold on... 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

This comment has been minimized.

Show comment
Hide comment
@colinli

colinli May 10, 2018

这个功能很赞啊

colinli replied May 10, 2018

这个功能很赞啊

Please sign in to comment.