Compare commits
No commits in common. "ab24374041b4f40f430780ff2f47f7b93c9db671" and "a37e57058fe3c9a215b99c239705469eb38896bd" have entirely different histories.
ab24374041
...
a37e57058f
4 changed files with 0 additions and 7 deletions
|
|
@ -13,5 +13,4 @@ doskey which=where $*
|
|||
doskey gc=gitcheckup $*
|
||||
doskey gp=git push $*
|
||||
doskey gpa=git_push_all $*
|
||||
doskey gfa=git fetch --all
|
||||
doskey setlatest=recycle __latest $T mklink /j __latest $*
|
||||
|
|
|
|||
|
|
@ -106,10 +106,6 @@ def resize(
|
|||
|
||||
log.debug('Resizing %s to %dx%d.', file.absolute_path, width, height)
|
||||
resampler = PIL.Image.NEAREST if nearest_neighbor else PIL.Image.LANCZOS
|
||||
|
||||
if image.mode == '1':
|
||||
image = image.convert('L')
|
||||
|
||||
image = image.resize( (width, height), resampler)
|
||||
|
||||
if output_file.extension == '.jpg':
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@ def showqr_argparse(args):
|
|||
root.title("QR code")
|
||||
root.bind('<Escape>', lambda *args, **kwargs: root.quit())
|
||||
root.bind('<Control-s>', lambda *args, **kwargs: save_image(root, image))
|
||||
root.bind('<Control-w>', lambda *args, **kwargs: root.quit())
|
||||
|
||||
tk_image = PIL.ImageTk.PhotoImage(image)
|
||||
tkinter.Label(root, image=tk_image).grid(row=0, column=0)
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ alias move=mv
|
|||
alias copy=cp
|
||||
alias md=mkdir
|
||||
alias cls=clear
|
||||
alias gfa=git fetch --all
|
||||
|
||||
# This generates a warning in some non-interactive situations, like cron.
|
||||
bind TAB:menu-complete > /dev/null 2>&1
|
||||
|
|
|
|||
Loading…
Reference in a new issue