Daniel Reetz, the founder of the DIY Book Scanner community, has recently started making videos of prototyping and shop tips. If you are tinkering with a book scanner (or any other project) in your home shop, these tips will come in handy. https://www.youtube.com/channel/UCn0gq8 ... g_8K1nfInQ

Bug?: Viewer shows disconnected tiles of input image

Discussion about Steve DeVore's Book Scan Wizard, a power-user package to automate scan processing.
andre_lafayette
Posts: 7
Joined: 27 Jun 2013, 05:14
E-book readers owned: Kindle
Number of books owned: 100
Country: United Kingdom

Bug?: Viewer shows disconnected tiles of input image

Post by andre_lafayette » 11 Jan 2014, 15:39

Hi,

In my machine BSW display only small segments (tiles) of the page images in the main editing area of the GUI. Attached to this message is a screen capture showing the problem. Everything else appears to be working as expected. Not sure how to solve this problem. Have you come across this issue before?

I'm running BSW under Mac OS X 10.9.1 with input images in jpg format. The input image shown in the screenshot can be downloaded from https://dl.dropboxusercontent.com/u/406 ... _right.JPG

Any help will be greatly appreciated!
Attachments
BSW_window.tiff

steve1066d
Posts: 296
Joined: 27 Nov 2010, 02:26
E-book readers owned: PRS-505
Number of books owned: 1250
Location: Minneapolis, MN
Contact:

Re: Bug?: Viewer shows disconnected tiles of input image

Post by steve1066d » 11 Jan 2014, 15:50

What version of BSW are you using?

Do you see any exceptions in the log file?

I tried a quick test with your image and script and it worked for me using the latest release (on Windows anyways).
Steve Devore
BookScanWizard, a flexible book post-processor.

andre_lafayette
Posts: 7
Joined: 27 Jun 2013, 05:14
E-book readers owned: Kindle
Number of books owned: 100
Country: United Kingdom

Re: Bug?: Viewer shows disconnected tiles of input image

Post by andre_lafayette » 11 Jan 2014, 19:48

Thank you for your very prompt reply! I am using BSW version 2.0.1a. Just realized that the images are actually displayed correctly before I scale them down using the slider. Up until this point there are no error messages or exceptions showing in my terminal, nor is a log file created. However, if I attempt to zoom in or out using the "Actions" menu or slider, the program eventually crashes. As far as I can tell, not due to a java exception. I've attached the log file. Any clues?
Attachments
hs_err_pid60653.log
(44.07 KiB) Downloaded 192 times

steve1066d
Posts: 296
Joined: 27 Nov 2010, 02:26
E-book readers owned: PRS-505
Number of books owned: 1250
Location: Minneapolis, MN
Contact:

Re: Bug?: Viewer shows disconnected tiles of input image

Post by steve1066d » 11 Jan 2014, 23:49

It might be due to this java bug:

http://bugs.sun.com/bugdatabase/view_bu ... id=8008660

It appears that this bug was never fixed in Java 7, but it is fixed in the pre-release version of java 8.

Can you see if it works correctly under java 8? Here's the url:

https://jdk8.java.net/download.html
Steve Devore
BookScanWizard, a flexible book post-processor.

andre_lafayette
Posts: 7
Joined: 27 Jun 2013, 05:14
E-book readers owned: Kindle
Number of books owned: 100
Country: United Kingdom

Re: Bug?: Viewer shows disconnected tiles of input image

Post by andre_lafayette » 12 Jan 2014, 08:01

Using Java 8 solved the problem! Thank you so much for your help.

steve1066d
Posts: 296
Joined: 27 Nov 2010, 02:26
E-book readers owned: PRS-505
Number of books owned: 1250
Location: Minneapolis, MN
Contact:

Re: Bug?: Viewer shows disconnected tiles of input image

Post by steve1066d » 12 Jan 2014, 13:17

Good to hear!
Steve Devore
BookScanWizard, a flexible book post-processor.

wambold
Posts: 8
Joined: 30 Nov 2011, 19:48
E-book readers owned: iPad, Mac
Number of books owned: 2000
Country: USA
Location: Sunnyvale, CA

Re: Bug?: Viewer shows disconnected tiles of input image

Post by wambold » 25 Jan 2015, 14:20

I'm still having this problem. I downloaded Java 8 onto my Mac running 10.10.1 (Yosemite):

Code: Select all

[iMac-2:/Applications/BookScanWizard_2.0.2c] wambold% java -version
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
[iMac-2:/Applications/BookScanWizard_2.0.2c] wambold% java -Xmx8192M -jar BookScanWizard.jar
BSW There are 8 processor(s), 7,282M, 8 threads
[use_barcodes=false],[override_source_dpi=],[right_orient=90],[output_type=Color],[use_focal_length=false],[source_directory=/Users/wambold/Desktop/Monsters jpeg],[destination_directory=/Users/wambold/Desktop/Monster destination],[working_directory=/Users/wambold],[destination_dpi=300],[compression=NONE],[left_orient=-90],[file_format=PDF]
color: Color
and for good measure, I got the super latest one:

Code: Select all

[iMac-2:/Applications/BookScanWizard_2.0.2c] wambold% java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
[iMac-2:/Applications/BookScanWizard_2.0.2c] wambold% java -Xmx8192M -jar BookScanWizard.jar
BSW There are 8 processor(s), 7,282M, 8 threads
[use_barcodes=false],[override_source_dpi=],[right_orient=90],[output_type=Color],[use_focal_length=false],[source_directory=/Users/wambold/Desktop/Monsters jpeg],[destination_directory=/Users/wambold/Desktop/Monster destination],[working_directory=/Users/wambold],[destination_dpi=300],[compression=NONE],[left_orient=-90],[file_format=PDF]
color: Color

steve1066d
Posts: 296
Joined: 27 Nov 2010, 02:26
E-book readers owned: PRS-505
Number of books owned: 1250
Location: Minneapolis, MN
Contact:

Re: Bug?: Viewer shows disconnected tiles of input image

Post by steve1066d » 26 Jan 2015, 12:20

Are you having the same problem with the fatal java error?
Steve Devore
BookScanWizard, a flexible book post-processor.

wambold
Posts: 8
Joined: 30 Nov 2011, 19:48
E-book readers owned: iPad, Mac
Number of books owned: 2000
Country: USA
Location: Sunnyvale, CA

Re: Bug?: Viewer shows disconnected tiles of input image

Post by wambold » 26 Jan 2015, 15:14

I didn't have any problems zooming in or out or using the slider, but I didn't try it very much. My Windows VM is too old to install Java 8, so I didn't try it there.

steve1066d
Posts: 296
Joined: 27 Nov 2010, 02:26
E-book readers owned: PRS-505
Number of books owned: 1250
Location: Minneapolis, MN
Contact:

Re: Bug?: Viewer shows disconnected tiles of input image

Post by steve1066d » 26 Jan 2015, 16:04

Are you running it on a Mac?

You could try running in the windows VM with Java 7, and see if that helps.
Steve Devore
BookScanWizard, a flexible book post-processor.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest