Update of /cvsroot/freevo/freevo/src/util
In directory sc8-pr-cvs1:/tmp/cvs-serv5943
Modified Files:
videothumb.py
Log Message:
always use thumbnail
Index: videothumb.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/util/videothumb.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** videothumb.py 10 Jan 2004 04:12:02 -0000 1.4
--- videothumb.py 10 Jan 2004 18:45:23 -0000 1.5
***************
*** 14,17 ****
--- 14,20 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.5 2004/01/10 18:45:23 dischi
+ # always use thumbnail
+ #
# Revision 1.4 2004/01/10 04:12:02 outlyer
# Take a snapshot/thumbnail after a file is recorded...
***************
*** 80,85 ****
try:
image = Image.open(imagefile)
! if image.size[0] > 300 and image.size[1] > 300:
! image.thumbnail((300,300), Image.ANTIALIAS)
if image.mode == 'P':
image = image.convert('RGB')
--- 83,87 ----
try:
image = Image.open(imagefile)
! image.thumbnail((300,300), Image.ANTIALIAS)
if image.mode == 'P':
image = image.convert('RGB')
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog