albrechtf / mcf2pdf

"My CEWE Photobook" MCF to PDF converter
Other
41 stars 36 forks source link

Decorations and multicolor background fix #42

Open shrap42 opened 6 years ago

shrap42 commented 6 years ago

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 commented 6 years ago

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

shrap42 commented 6 years ago

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 commented 4 years ago

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'