Convert pgn file from rgb to cmyk php

hello i want some help about how can i convert a png file, i have my develop on php i want to create a pdf but i have all my images in rgb now i want to convert my png file to a cmyk on the fly to get my pdf in cmyk does anybody can helpo me pls
i need this help
thanks :'(
UnksocAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

weedCommented:
You SURE you want to use CMYK? There is absolutely NO reason to use CMYK unless youre going to certain high end printers. Other printers prefer to do the conversion themselves, on the fly. I'd say leave it as RGB.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
UnksocAuthor Commented:
Yes i know, thats what i want to do this conversion, coz im gonna use the pdf generated to print, thats why i need to make a conversion of that kind, hope can help
Thanks
weedCommented:
Well, if your image is currently PNG, simply converting it to CMYK probably isnt going to make it suitable for printing on the kind of printer that would require CMYK. There are other things like DPI and color management to be concerned about.
CompTIA Network+

Prepare for the CompTIA Network+ exam by learning how to troubleshoot, configure, and manage both wired and wireless networks.

UnksocAuthor Commented:
ok i understand that, but d ou know some way to do it?, coz i made one conversion but im trying to get a program that could do it in automatic or i mean that u can use a dll or something like that, not like photoshop
Thanks for help
Regards
weedCommented:
Why not photoshop? That's certainly the easiest. BTW, you already accepted an answer to this question. Not sure why.
UnksocAuthor Commented:
Not photoshop, coz im using a PDflib with php to get the pdf, but that one goes with php then i need to use some kinda standalone soft to do that
PrepressSuperstarCommented:
1. First... weed is right, you "accepted" his answer.

2. Second... To give you the best answer, what is the intention? Is the file intended to be printed on a modern printing press? If yes, then CMYK is the correct "mode". If the intention is for viewing, or an inkjet printer... then RGB would be the best bet.

3. To help you resolve your issue it is difficult with the limit of information provided (platform, intentions, applications used) so the recommendation of Photoshop is just one possible solution, but i know there are a number of applications available but which one is appropriate? I think you should evaluate number 2 above!
PrepressSuperstarCommented:
1. First... weed is right, you "accepted" his answer.

2. Second... To give you the best answer, what is the intention? Is the file intended to be printed on a modern printing press? If yes, then CMYK is the correct "mode". If the intention is for viewing, or an inkjet printer... then RGB would be the best bet.

3. To help you resolve your issue it is difficult with the limit of information provided (platform, intentions, applications used) so the recommendation of Photoshop is just one possible solution, but i know there are a number of applications available but which one is appropriate? I think you should evaluate number 2 above!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Graphics Software

From novice to tech pro — start learning today.