Preliminary assumption:
Art requires a great deal of stretching of the jiugong figure. If there is more UI, the content will be repetitive and monotonous. This plug-in is based on the scalebitamp feature, art is often used to stretch the UI Panel, when stretching, they will adopt the cropping local area to use, and PS does not provide this non-deformation tool, however, air can use interactive operations to zoom in and out bitmap, so that we can use this feature to create a plug-in for ps. The specific idea is from a colleague's UI tool. We just need to drag and drop the jiugong diagram, and then perform auto scaling in the plug-in to pull the result, drag and Drop to PS for use. This can reduce the tedious problems brought by the art sister, a large number of repeated stretching of the Nine Palaces.
Basic design ideas and principles: a large number of repetitive and tedious work is reduced.
However, unfortunately, a problem occurs in the production tool: when the system clipboard copies bitmap data and is trying to drag and drop the data to PS CS6, the PNG transparent channel disappears and a lot of information is queried online, there is no way to deal with it. The impact of this operation is partly reflected, so I had to write it into the file system and let the art sister perform more operations. I don't know how to solve this problem? Hope that the high hand appears.
Two days later, clipboardformats. file_list_format was used to solve the problem of dropping the transparency from air to PS. Transparency has emerged. This method is to write the code to the system and drag and drop the file to PS, so there is no problem above. What is the relationship between the processing method of clipboardformats. bitmap_format and the system? I guess this alpha channel is not available in the copy process.
After completing the first version, I submitted it to the art for a small test and found that the art does not seem perfect enough to satisfy their desires. This plug-in design only solves the convenience of planning and designing the UI, and the requirements of art are
It is expected that a reversal process can be performed.
From a large image-"output to the nine palace component diagram of the program, but this tool is the opposite. They want to use only one software to design and complete their design-to-output solutions, without the additional operation interaction costs. This issue is also worth thinking about.
The following is the air version, and the official extend extension can be used to embed the plug-in into ps, which can be integrated. We look forward to providing such tools officially.