#1
|
|||
|
|||
![]()
I have had the need to create a template, where my users upload images in color.
But on the template it needs to appear as greyscale. As FusionPro can not convert the image to greyscale I needed to find another way. My trick is to layer the template. The user image has its own graphic frame. On top of this I place a graphic frame containing a pdf-file. This pdf-file is a greyscale box (50% Black) with blending mode set to Colour. If you think it becomes to reddish, you can make the color C:10 M:0 Y:0 K:45. Then when it is composed the effect of the blending mode applies to all the elements below the graphic frame containing the pdf-file. To print you have to make sure your RIP supports transparency in pdf-files. And the images is not true greyscale. It is still composed of CMYK. Remember that this can be used for other creative purposes. The box could be a gradient instead of just greyscale. You can download my sample-job containing the FusionPro template + assets, the InDesign document with the greyscale box + a composed pdf from FusionPro. You are welcome to contact me, if you have questions to this process. https://files.skabertrang.dk/jh/Fusi...-FusionPro.zip ![]() ![]() ![]()
__________________
Kind regards Jimmy Hartington ------- Happy MarcomCentral® customer - OS version: macOS 10.15.7 - Acrobat DC - FusionPro version: 11.2.1 Last edited by jimmyhartington; March 7th, 2018 at 01:30 AM.. |
#2
|
||||
|
||||
![]()
That's a nice tip. Although I think you can do this without any transparency at all, by having two frames, each of which holds half of an image, both set to "Proportional Fill" with clipping turned on, one set to align left and the other to align right.
EDIT: Please ignore my comments in Red. Jimmy is actually using a masking image, which is very clever. Kudos for figuring this out!
__________________
Dan Korn FusionPro Developer / JavaScript Guru / Forum Moderator PTI Marketing Technologies | Printable | MarcomCentral I am a not a Support engineer, and this forum is not a substitute for Support. My participation on this forum is primarily as a fellow user (and a forum moderator). I am happy to provide help and answers to questions when I can; however, there is no guarantee that I, or anyone else on this forum, will be able to answer all questions or fix any problems. If I ask for files to clarify an issue, I might not be able to look at them personally. I am not able to answer private messages, emails, or phone calls unless they go through proper Support channels. Please direct any sales or pricing questions to your salesperson or inquiries@marcom.com. Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@marcom.com. Paid consulting work may be required to fulfill your template-building needs. This is a publicly viewable forum. Please DO NOT post fonts, or other proprietary content, to this forum. Also, please DO NOT post any "live" data with real names, addresses, or any other personal, private, or confidential data. Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant error or warning messages. Please post questions specific to the MarcomCentral Enterprise and Web-to-Print applications in the MarcomCentral forum. Click here to request access. Or contact your Business Relationship Manager (BRM/CPM) for assistance. Please direct any questions specific to EFI's Digital StoreFront (DSF) to EFI support. How To Ask Questions The Smart Way The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MC (or MCC). There is no "S" at the end of "Expression" or "Printable"! The name of the product is FusionPro, not "Fusion". "Java" is not is not the same as JavaScript. Check out the JavaScript Guide and JavaScript Reference! FusionPro 8.0 and newer use JavaScript 1.7. Older versions use JavaScript 1.5. return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)}); ![]() Last edited by Dan Korn; October 22nd, 2014 at 09:00 AM.. |
#3
|
|||
|
|||
![]()
Hi Dan
The example with half the image in greyscale was just to show the effect. My use case was a template in Marcom for Business Cards. The user should upload a portrait and it should be greyscale, in accordance with the customers branding guidelines. But the users did not have a greyscale portrait of themselves or the skills to make the image greyscale. In this case I made the graphic frame with the PDF-file cover the whole image. And I achieved what was needed.
__________________
Kind regards Jimmy Hartington ------- Happy MarcomCentral® customer - OS version: macOS 10.15.7 - Acrobat DC - FusionPro version: 11.2.1 |
#4
|
||||
|
||||
![]()
Ah, sorry, I didn't look closely at the files before replying. You're using a masking image. This is actually very cool! Thank you very much for sharing this with the community!
__________________
Dan Korn FusionPro Developer / JavaScript Guru / Forum Moderator PTI Marketing Technologies | Printable | MarcomCentral I am a not a Support engineer, and this forum is not a substitute for Support. My participation on this forum is primarily as a fellow user (and a forum moderator). I am happy to provide help and answers to questions when I can; however, there is no guarantee that I, or anyone else on this forum, will be able to answer all questions or fix any problems. If I ask for files to clarify an issue, I might not be able to look at them personally. I am not able to answer private messages, emails, or phone calls unless they go through proper Support channels. Please direct any sales or pricing questions to your salesperson or inquiries@marcom.com. Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@marcom.com. Paid consulting work may be required to fulfill your template-building needs. This is a publicly viewable forum. Please DO NOT post fonts, or other proprietary content, to this forum. Also, please DO NOT post any "live" data with real names, addresses, or any other personal, private, or confidential data. Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant error or warning messages. Please post questions specific to the MarcomCentral Enterprise and Web-to-Print applications in the MarcomCentral forum. Click here to request access. Or contact your Business Relationship Manager (BRM/CPM) for assistance. Please direct any questions specific to EFI's Digital StoreFront (DSF) to EFI support. How To Ask Questions The Smart Way The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MC (or MCC). There is no "S" at the end of "Expression" or "Printable"! The name of the product is FusionPro, not "Fusion". "Java" is not is not the same as JavaScript. Check out the JavaScript Guide and JavaScript Reference! FusionPro 8.0 and newer use JavaScript 1.7. Older versions use JavaScript 1.5. return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)}); ![]() |
#5
|
|||
|
|||
![]()
This forum and especially you have been very helpful with my scripting efforts.
And since I can not help that much with scripting, then I am glad to share this.
__________________
Kind regards Jimmy Hartington ------- Happy MarcomCentral® customer - OS version: macOS 10.15.7 - Acrobat DC - FusionPro version: 11.2.1 |
#6
|
|||
|
|||
![]()
Jimmy, you will most likely never see this...........but thank you. Great idea, I just used it. Works great. Also, built the pdf resource completely with PitStop
![]() |
#7
|
|||
|
|||
![]()
Hi Kent
I did see it :-) And now I am curious. Do you mind posting an example of what you used it for? This could be inspiration for others.
__________________
Kind regards Jimmy Hartington ------- Happy MarcomCentral® customer - OS version: macOS 10.15.7 - Acrobat DC - FusionPro version: 11.2.1 |
#8
|
|||
|
|||
![]()
Sorry Jimmy, I am 6 months late. I am not even sure I could find which project we needed it for, but it was a web-facing solution where customers are able to upload any image type. This allowed us to take anything and not have to check/force compliance.
|
![]() |
Tags |
creative, greyscale, indesign |
Thread Tools | Search this Thread |
Display Modes | |
|
|