문제

My client says that the generated PDFs must be in CMYK format. Can Prawn do this?

I can't find the answer in the documentation.

도움이 되었습니까?

해결책

Yes, Prawn can do this. This topic seems to be omit by documentation, so that you can look at source code. This example demonstrates Prawn's support for CMYK images and colors. For example, Prawn::Graphics::Color#fill_color take either one argument or four arguments. If a single argument is provided, it should be a 6 digit HTML color. If 4 arguments are provided, the color is assumed to be a CMYK value.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top