Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decorations and multicolor background fix #42

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

shrap42
Copy link

@shrap42 shrap42 commented Jan 23, 2018

I've fixed two problems in one commit (see the comment). Sorry if I am doing anything wrong, this is my first contribution on GitHub :)

@rbodziony
Copy link

thx i did it a 6 month aga so we waiting for other pull request to be included :)

@shrap42
Copy link
Author

shrap42 commented Jan 31, 2018

I have finished the support of multicolor backgrounds. I had to pre-render the images before the whole book rendering begins. The code might be a little messy (I tried my best for it to not be) so if anyone wants to look at it, it would be great.

@alexsbg22
Copy link

Hi, I found no other way of contact so I post my question here. The idea of your tool is really great and I would love to make it work with our photobooks, unfortunately it does not so far.

I tried the java and phyton versions.

On java, I think I got close with the following result.

Does this mean, our photobook ALB73 is simply not supported by your tool?

This would be sad, but okay. At least I dont have to look deeper into programming, I am really a noob.

On Python I got the feedback all the way down on this page, which does not mean anything to me :(

Would be great to get any feedback or help on this. We have about 20 photobooks we want to preserve as PDFs.

Thanks! Alex

JAVA:

\mcf2pdf-0.2.0>mcf2pdf.bat "OnlineFotoservice_Russland_2.mcf" russland3.pdf
[ERROR] net.sf.mcf2pdf.Main An exception has occured
java.io.IOException: No album type definition found for used print product 'ALB73'
at net.sf.mcf2pdf.Mcf2FoConverter.convert(Mcf2FoConverter.java:179)
at net.sf.mcf2pdf.Main.main(Main.java:181)

Phyton:

======= RESTART: C:\Users\alex\Desktop\cewe2pdf\cewe2pdf.py ============
Traceback (most recent call last):
File "C:\Users\alex\Desktop\cewe2pdf\cewe2pdf.py", line 530, in
resultFlag = convertMcf(args.inputFile, args.keepDoublePages)
File "C:\Users\alex\Desktop\cewe2pdf\cewe2pdf.py", line 178, in convertMcf
pagenum = int(articleConfigElement.get('normalpages')) + 2
AttributeError: 'NoneType' object has no attribute 'get'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants