Mike-DE-RE

Results 33 comments of Mike-DE-RE

I have taken gimp to set the original PNG file to 720dpi. After that I used convert _input.png output.pdf_ to convert it to PDF. Here is the result: ![acrobat-preview](https://cloud.githubusercontent.com/assets/27857771/25990070/ad74c630-36fe-11e7-9b4d-4c9bdbbeb55d.png) So...

Now that I've done above step. I was able to join the PNG with my scan: ![layers](https://cloud.githubusercontent.com/assets/27857771/25995298/e7ca3a3c-3711-11e7-8a51-a75ee504bd80.png) I have coloured you PNG in green below that is my original scan....

1st - Can confirm that resolution now is 720dpi. 2nd - I am back to black background now. 3rd - It is difficult to match both scan and converted image...

Had to change that to for (x=0 ; x

First I have amended the source as follows: for (x=0 ; x

> is the problem fixed by altering line 186 to read: > > int colourMixMethod = 1; No! > I have just noticed that line 177 ( rgb_result[3] = rgb_lookups[3];)...

Remember, we were on white background. What happened after that?

> Did you try the change to the lookupColour() function? Yes, as written above. Sorry, but I did not archive the version that produces proper white background. I have only...

This Commits on May 11, 2017 "Correction of Delta Row Compression" https://raw.githubusercontent.com/RWAP/PrinterToPDF/76a89ccde0f810e05f6d5ebcf40d4edafecb5cf9/PrinterConvert.c produces WHITE background. This Commits on May 12, 2017 "Colour Lookup & Page Size" https://raw.githubusercontent.com/RWAP/PrinterToPDF/c008fc5a72299203735f64dd5a04aa7780d78289/PrinterConvert.c produces BLACK background...

**That solves the Problem!** Changing line 471 from _int pixelColour;_ to read _unsigned char pixelColour;_