Creating text mosaic in Actionscript - air

Does anyone know how to approach creating a text based mosaic using action script given a collection of words?
Similar to this
http://www.ezmosaic.com/mosaic-samples/text-message-mosaic/

You can accomplish that by using the text you want to render as a mask for the picture you want to fill the text with.
Mask property

Related

MacOS react-native picker/select with search field

I am using #react-native-picker/picker on macOS to select items in a picker/select.
But graphically it's not very nice, what I would like to achieve is an effect similar to the one in the image below or something that suits the graphics of macos.
With the possibility of putting an icon next to the text, an input field that allows you to filter the results.
Can you give me some advice?
It would depend on what the library allows customization wise. However, this isn't very hard to accomplish without a package. Essentially you want to combine a text field with a flat list and use the input from the text field to filter the data in the flat list. You can then also customize the text in the text field based on what item is selected in the flat list.
Let me know if you have any questions.

create pdf with a template pdf and add image, text, barcode, and complete field form , objective c, OS X

I am a newbie at Objective-C. I'm working on a project for a OSX. I have a pdf template file with form fields, and I need to use it to generate a new pdf adding some images, text, barcode, and complete form fields.
I've been researching for working with PDFs, I'm trying to use Quartz 2D, CGPDFContext, and at this moment I managed to fill a new pdf with the page template, but I donĀ“t know how to do to write on the fields forms and add other images.
How can I draw at specific point, text or image? or exist any library to manage pdf? and for generate barcode128? Thank you so much!
Once you have a CGPDFContext you can draw whatever you want into it as you would with any other context. A simple solution is to create a CALayer (or a view and then access its layer) with the content you want and then to draw that layer into your PDF context.
Getting the editable text fields isn't so easy, this might help.
If you can do away with the PDF template and do the whole thing as a view that you render into a PDF context that would be easier, but the process is generally the same once you know where you need to draw your additional text / graphics.

How to "mask" certain text in a PDF document

I have a PDF document, and I want to mask certain text blocks. The reason why I want to do this, is because I don't want this text to be indexed, nor I want this information to be easily accessible by selecting and copying this text block.
What should be the right way to do this?
I guess turning the text to raster would be bad idea, and I don't know if there is some tool that can make only cartain text parts with special privileges.
You will need a program that can convert a font into a series of shapes.
Illustrator may have the functionality you want: see here and here.

line spacing in label + vb.net

I have a .NET 2.0 standard Label on my form, well I put some text in it with several lines. But the spacing between the lines are too small. Just want to know if there's a way to fix this.
Thanks...
The only solution I can see would be to make multiple labels and space the labels appropriately.
You may need to create the labels dynamically, one per line.
Of course, you could do a .Split(vbNewLine) on the text you want to display and then for each string in the list, create a new label control, adding it to the form, and spacing it out appropriately from the previous label.
Not ideal, but about the only way to accomplish it.
There is another alternative way to work out that you use the WinformHTMLTextBox then embed the content by using html code which you can employ the advantage of CSS.

Photoshop script to get the color of a solid fill layer?

I'm trying to write a Photoshop jsx script for extracting color values from a PSD template. The colors are defined as separate fill layers that I'd like to be able to loop through and create a hash of {layer_name: #hex_color} values. I'm not finding any documentation on reading the color value of the fill layer.
I found my answer on this thread.