I'm back again with another mind-bending question! Hopefully someone here is able to provide some assistance...
When increasing the size of your "content" PDF by 0.25 so that your book has full bleed, do I need to do the same for my front cover?
I'm printing a book that's 8.5 x 8.5 with full bleed. After reading information from this page I increased the size of my "content" pdf to be 8.75 x 8.75.
I also increased the size of my cover to be 17.499 x 8.75. The width was calculated from the sum of 8.5 x 2 (width of book multiplied by 2), 0.249 (width of spine calculated here) and 0.25 (additional width required for full bleed).
That sounds right. Whatever size the calculator indicates is appropriate, you should be able to add up to .25" to that in order to ensure that the color runs to the edge.
Unfortunately, it doesn't look like adding 0.25" is correct. When I add my PDF, I get the following error:
stdClass Object
(
[error_value] => Your cover file is 1224 points wide by 630 points high, but these are not the right dimensions. Your cover should be uploaded at 1368 x 738 points.
I've got no idea where to begin looking to resolve this issue... My PDF files seem to be fine. I can view locally, upload and download from the Lulu servers. I've even fed the "content" and "cover" pdf into the converter API... They converted correctly, but one I tried to publish, I got the 2 errors above...
Is this issue more to do with server load? Or are my PDF's to blame?
Hmm, not sure what would be causing that second error. If you want to email the file to api at lulu dot com, I can try to duplicate the error and try to find its cause.
If I attempt to create using those files, I get the opposite size problem that you encountered:
"error_type": "LApiPublishInvalidDocumentException", "error_value": "Your cover file is 1368 points wide by 738 points high, but these are not the right dimensions. Your cover should be uploaded at 1248.98 x 630 points."
What are you using as the options for the physical attributes? I have believe I have attempted all of the supported 8.5x8.5 books. The error above came from attempting with:
Hi Josiah, I'm using the following physical attributes:
$physicalAttributes='{
"color": true,
"trim_size": "LARGE_SQUARE",
"binding_type": "casewrap-hardcover",
"paper_type": "premium"
}';
I've sent an email to api at lulu dot com that includes new PDF files plus a image of how I've calculated the size of the cover... I'm at a complete loss to what is wrong, I'm hoping it's a minor issue and apologise if it's something very obvious.
Hi Josiah, I've "resolved" the issues I was having after pulling out what little hair I have left. Hopefully this information will prove useful for other people in the future.
A full-bleed cover for a hard-cover book not only needs an additional 0.25" for the "bleed", but also an additional 1.5" for "turn-in bleed" (go here for more info), this is why I was getting the following error:
stdClass Object
(
[error_value] => Your cover file is 1224 points wide by 630 points high, but these are not the right dimensions. Your cover should be uploaded at 1368 x 738 points.
For whatever reason Lulu doesn't like my cover pdf. I'm using TCPDF and PHP to generate my pdf files and each time try to publish a book with the files I create, I get the following error:
If I upload my cover PNG file to Lulu and convert it to a PDF with the Convert API, my book publishes perfectly. I'm not sure of the exact reason, but this workaround will get me over the line.
If anyone is able to shed some light as to why I would be getting the LApiPublishInvalidDocumentException error, it would be greatly appreciated.
Using the new set of files that you emailed us, I was able to reproduce the "Error creating cover image representation, Error creating front cover image thumbnail" error in a sandbox environment. This is caused by an error occurring when attempting to rip the PDF into an image file using ghostscript. Running that command directly resulted in the following error:
It is hard to know for sure that that is the error that was encountered in production, as it is getting swallowed by the application, but it likely is. This seems to indicate the use of an unembedded font for which there is no fallback. Running this same command on a machine with japanese fonts installed worked without error.
Does this provide any clues as to what is causing the error?
Hi all,
I'm back again with another mind-bending question! Hopefully someone here is able to provide some assistance...
When increasing the size of your "content" PDF by 0.25 so that your book has full bleed, do I need to do the same for my front cover?
I'm printing a book that's 8.5 x 8.5 with full bleed. After reading information from this page I increased the size of my "content" pdf to be
8.75 x 8.75.I also increased the size of my cover to be
17.499 x 8.75. The width was calculated from the sum of8.5 x 2(width of book multiplied by 2),0.249(width of spine calculated here) and0.25(additional width required for full bleed).Is this correct?
Message edited by Soap Creative 2 years ago
Tags
Josiah Gore – 2 years ago
That sounds right. Whatever size the calculator indicates is appropriate, you should be able to add up to .25" to that in order to ensure that the color runs to the edge.
Soap Creative – 2 years ago
Unfortunately, it doesn't look like adding 0.25" is correct. When I add my PDF, I get the following error:
When I upload a PDF with the size requested above, I then get the following error:
I've got no idea where to begin looking to resolve this issue... My PDF files seem to be fine. I can view locally, upload and download from the Lulu servers. I've even fed the "content" and "cover" pdf into the converter API... They converted correctly, but one I tried to publish, I got the 2 errors above...
Is this issue more to do with server load? Or are my PDF's to blame?
Josiah Gore – 2 years ago
Hmm, not sure what would be causing that second error. If you want to email the file to api at lulu dot com, I can try to duplicate the error and try to find its cause.
Soap Creative – 2 years ago
Thanks Josiah, that would be great. I'm sending the files now (they are pretty large though).
Josiah Gore – 2 years ago
I've just seen your files and I am looking into it now. Thanks for bearing with me.
Josiah Gore – 2 years ago
If I attempt to create using those files, I get the opposite size problem that you encountered:
What are you using as the options for the physical attributes? I have believe I have attempted all of the supported 8.5x8.5 books. The error above came from attempting with:
When I created a cover of the size suggested in the error message, I was able to successfully create the book using that cover PDF.
Soap Creative – 2 years ago
Hi Josiah, I'm using the following physical attributes:
I've sent an email to api at lulu dot com that includes new PDF files plus a image of how I've calculated the size of the cover... I'm at a complete loss to what is wrong, I'm hoping it's a minor issue and apologise if it's something very obvious.
Soap Creative – 2 years ago
Hi Josiah, I've "resolved" the issues I was having after pulling out what little hair I have left. Hopefully this information will prove useful for other people in the future.
If I upload my cover PNG file to Lulu and convert it to a PDF with the Convert API, my book publishes perfectly. I'm not sure of the exact reason, but this workaround will get me over the line.
If anyone is able to shed some light as to why I would be getting the
LApiPublishInvalidDocumentExceptionerror, it would be greatly appreciated.Josiah Gore – 2 years ago
Using the new set of files that you emailed us, I was able to reproduce the "Error creating cover image representation, Error creating front cover image thumbnail" error in a sandbox environment. This is caused by an error occurring when attempting to rip the PDF into an image file using ghostscript. Running that command directly resulted in the following error:
It is hard to know for sure that that is the error that was encountered in production, as it is getting swallowed by the application, but it likely is. This seems to indicate the use of an unembedded font for which there is no fallback. Running this same command on a machine with japanese fonts installed worked without error.
Does this provide any clues as to what is causing the error?