Git Product home page Git Product logo

Comments (5)

rvolz avatar rvolz commented on August 11, 2024

No, that is a new problem. BBS looks for Calibre-made pictures called "cover.jpg" in the book folders. You could check if that file exists for book 335.

If it exists it would be interesting what kind of picture it is. Maybe PHP has limits there. Look at it with exiftool or a similar tool. The result for a Calibre-made cover should look like this:

ExifTool Version Number         : 8.38
File Name                       : cover.jpg
Directory                       : /Users/rv/Bibliothek/Erik Hatcher/Lucene in Action (72)
File Size                       : 211 kB
File Modification Date/Time     : 2010:11:30 17:54:14+01:00
File Permissions                : rwxrwxrwx
File Type                       : JPEG
MIME Type                       : image/jpeg
JFIF Version                    : 1.01
Resolution Unit                 : inches
X Resolution                    : 72
Y Resolution                    : 72
Image Width                     : 1106
Image Height                    : 1387
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:2:0 (2 2)
Image Size                      : 1106x1387

from bicbucstriim.

TheBuzzDee avatar TheBuzzDee commented on August 11, 2024

Yes, there is an image "cover.jpg" for the book 335 in the book folder.

This is what exiftool puts out:

---- ExifTool ----
ExifTool Version Number         : 9.08
---- System ----
File Name                       : cover.jpg
Directory                       : //SERVER/Books/Philip Jose Farmer/Die Flusswelt Der Zeit (335)
File Size                       : 59 kB
File Modification Date/Time     : 2012:11:20 19:42:12+01:00
File Access Date/Time           : 2012:11:29 19:13:53+01:00
File Creation Date/Time         : 2012:11:20 21:37:02+01:00
File Permissions                : rw-rw-rw-
---- File ----
File Type                       : JPEG
MIME Type                       : image/jpeg
Image Width                     : 347
Image Height                    : 550
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:2:0 (2 2)
---- JFIF ----
JFIF Version                    : 1.01
Resolution Unit                 : inches
X Resolution                    : 72
Y Resolution                    : 72
---- Composite ----
Image Size                      : 347x550

This happens only with 4 books out of hundreds, so I could live with that. But I want to know why this happens ;-)
As mentioned, I changed the cover in Calibre and used another image. But still the same effect...

The only difference I see, is the file permissions: rw-rw-rw- (your example: rwxrwxrwx)

from bicbucstriim.

rvolz avatar rvolz commented on August 11, 2024

It's not the permissions because I have test files with different permissions (rw-r--r--), and they work. And I checked the -- strange -- dimensions. That was also ok.

from bicbucstriim.

TheBuzzDee avatar TheBuzzDee commented on August 11, 2024

In the meantime I did the following: I deleted the book in Calibre. Imported the ePub file and tagged it again with meta tags and a different cover image. Now the book has a different ID and.....it works. Well, maybe the bug was Calibre itself, I don't know... As I said, this happened with under 1% of all my books, so maybe the "cover.jpg" was corrupted during synchronization with my Sanology... I think this issue can be closed, but we should keep an eye on this.

from bicbucstriim.

rvolz avatar rvolz commented on August 11, 2024

ok, thanks for checking this out.

from bicbucstriim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.