The technique above can also be used to colorize the QR Codes using a long-known but little-used transparency technique that was demonstrated in my recent article on creating colored QR codes during Data Merge. Nice! But it can be even better! Colorizing QR Codes If I change the paragraph style of the background now so that the GREP style refers to the new gradient swatches instead of the solid swatches, here is what the result looks like: I’ll also go into the text frame that’s pasted into the rectangle in the background and rotate it from its center-point. Instead of solid colors, I’ll create four gradient versions of the colors and create those as character styles as well in the same fashion as the solid colors. If I apply the exact same GREP styles that were applied to the background, but to the paragraph style that contains the membership type, this is the result: The type that contains the membership would be more convincing if it was the same color as the background. Once I apply the other design elements of the card with the variable data onto the layer above, I can then achieve a result that looks like this: I’ll cut the color-changing frame that’s been created, select the new frame and use the Paste Into feature (Edit > Paste Into) so that the color-changing frame’s shape is constrained by the size of my new frame. In this example, there is a second layer for the background that has a frame that is extended to the entire bleed of this card. While this technique works, the text frame looks hideous, so to make it useful, it needs to be changed to an appropriate size and shape. From here, the color of this text frame will change, dependent on what type was in the database. This GREP code will apply the appropriate character style to the entire line if it detects the key word at the start of a line, followed by anything else. From here, add the following GREP styles as displayed in this example: Next, adjust the paragraph style and click on the GREP style option. If done correctly, the text frame will now appear as a large black square. To this type, apply the paragraph style that contains the rule below style shown in item 2 above. A text frame that will become a frame that changes colorįirst, place the Data Merge field that contains the color field into the text frame and turn the Data Merge preview on.The relevant colors in the Swatches panel.A database with a column that contains a field of colors to be used.A paragraph style that has a paragraph rule based on the color of the type.Character styles for each color (only the color of the type changes in the style).Here is what is required for this technique: There are going to be four colors that change – Bronze, Silver, Gold and Platinum. To demonstrate this technique, let’s look at this VIP card. This technique is similar to the previous heat map technique but it does not require a script to prepare the colors. In a previous article, I demonstrated that it is possible to change the color of type during a Data Merge using GREP, and in turn change the color of the background of the type that is then used to color a shape that the text frame is pasted into. Creating colored graphics elsewhere and adding an image field to the database.īut there is another method that is not as well known, and it involves GREP.A plug-in that contains advanced Data Merging features or.From time to time, I’m asked the following question: Is it possible to change the color of an object during a data merge? Fortunately, the answer is yes, and the best method is usually one of two solutions:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |