Error when fitting image into window

The place to post any Bugs or Problems you may have with the Current Release Version
Post Reply
Brother Mike
Posts: 228
Joined: Fri Apr 03, 2009 3:18 pm
Location: Santa Clarita, CA
Contact:

Error when fitting image into window

Post by Brother Mike »

Hi Tim. Hoping this message finds you well, and hope you had a blessed Christmas.

When in the BA image viewer. When I try to fit an image with any option other than 1:1 I get an error dialog. This occurs with included images or my own (I just added some images from an atlas i received as a gift) and get the error on any image.

As always, in Christ, and thank you.

Code: Select all

[<baseClass.HtmlWindow object at 0x72fa8457cd40>
excepthook

*** Thu Dec 26 16:46:38 2024 ***
Traceback (most recent call last):
  File "/opt/bibleanalyzer/ba-561.zip/imgViewer.py", line 677, in OnFitAll
    img.thumbnail((winSize[0] -offset, winSize[1] -offset), Image.ANTIALIAS)
                                                            ^^^^^^^^^^^^^^^
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'

excepthook

*** Thu Dec 26 16:47:02 2024 ***
Traceback (most recent call last):
  File "/opt/bibleanalyzer/ba-561.zip/imgViewer.py", line 745, in OnFitSide
    img.thumbnail((NewW, NewH), Image.ANTIALIAS)
                                ^^^^^^^^^^^^^^^
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'

['id', 'title', 'imageData']
excepthook

*** Thu Dec 26 16:47:19 2024 ***
Traceback (most recent call last):
  File "/opt/bibleanalyzer/ba-561.zip/imgViewer.py", line 677, in OnFitAll
    img.thumbnail((winSize[0] -offset, winSize[1] -offset), Image.ANTIALIAS)
                                                            ^^^^^^^^^^^^^^^
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'

['id', 'title', 'imageData']
['id', 'title', 'imageData']
saving settings
/code]
Jesus saith unto him, I am the way, the truth, and the life: no man cometh unto the Father, but by me. John 14:6 (AV)

Tim
Site Admin
Posts: 1717
Joined: Sun Dec 07, 2008 1:14 pm

Re: Error when fitting image into window

Post by Tim »

I'll fix this, thanks.
Tim Morton
Developer, Bible Analyzer

But to him that worketh not, but believeth on him that justifieth the ungodly, his faith is counted for righteousness. (Rom 4:5 AV)

Post Reply