How to collect the picture materials in the app?

1. How to extract the material of app?

If developers want to develop applications and games, but they are not good at art design, they can only look for materials everywhere on the Internet, but there are not many free materials on the Internet, and free materials rarely meet the needs of developers. But there is another way, we can extract materials from other applications, and the quality of these materials is still relatively high.

Let's take the masturbation of WeChat as an example. Download the installation package, apk file or ipa file of WeChat first, change the suffix to rar, and then decompress it with winrar.

After ipa is decompressed, the information is easy to find, and the resources are all in one directory. You can directly find the required image material by using thumbnails. Some pictures of a single object can be used directly, and some pictures of multiple objects are combined into a big picture, which requires the corresponding packaging configuration file to read the small pictures of each area. If the configuration file is encrypted, then this big picture is basically useless.

The materials extracted by apk are placed in the assets and res directories. However, because WeChat masturbation is made into a jar and integrated into WeChat, we can see a jar file named "shoot" in the assets/preload directory. Unzip this jar, you can find some picture materials in the res directory, and you can also find packaged picture materials in the shoot directory:

These packaged pictures also have corresponding packaging configuration files, which record the cropping area of each thumbnail, and also need to use the configuration files to read the picture information. Fortunately, the apk version of the configuration file is not encrypted. When we open it in text mode, we can see the configuration information, including the area and name of each thumbnail, which can be used with a little adjustment to support our common development engine.

But not all applications can extract its material, and some will encrypt the picture information and decrypt it when loading, so that we can't steal its material. In addition, if the material of other applications is obviously stolen, it will involve infringement, so it is best for developers to extract the material of the application and use it in their own development practice, instead of publishing the application to the market aboveboard.

Finally, the successful application is inseparable from excellent artists. There are many successful cases of artists turning to independent developers, but it is still very difficult for programmers to do artists themselves. If you really need an artist, you can consider hiring or outsourcing.

2. How to collect text and picture courseware materials?

Acquisition and processing of text materials

Text materials are usually saved as file text, and the common formats are: txt file, doc file, rtf file, wps file and pdf file.

Files are usually entered by keyboard or manually.

Usually, written materials come from textbooks, websites and so on.

Generally speaking, the text content of a webpage can be directly copied or directly saved as a webpage file or a text file.

Special fonts or wordart can be grabbed by a picture grabbing tool, and then used after pictorialization.

The second is the acquisition and processing of graphics and image materials.

The format of graphic image data is generally:. ,.bmp,。 ,.tiff,。 Wait a minute. At present, there are many ways to collect graphics and image data, which can be summarized as follows:

1. Screenshot or hard copy of the screen

Using screen capture software, such as HYPERSNAP or Snagit, you can capture anything displayed on the current screen. You can also use ALT+PRINTSCREEN provided by Windows to directly put the picture displayed in the currently active window on the clipboard.

2. Scan input

This is a common image acquisition method. If you want to put some illustrations in teaching materials or other books in multimedia courseware, you can scan them into computer digital image files with a color scanner. For these image files, we should also use Photoshop to adjust some aspects such as color, brightness, contrast, clarity and format size to make up for the defects left by scanning.

Using a digital camera

With the continuous development of digital cameras, digital photography is a widely used image acquisition method in recent years. The images taken by digital cameras are digital images, which are stored in the camera's internal memory chip, and then transmitted to the multimedia computer through the computer's communication interface, and then processed by Photoshop, isee and other software in the computer, and applied to the multimedia software we made. Using this method, digital images of tourist attractions, experimental instruments, people and other physical objects can be made conveniently and quickly, and then inserted into multimedia courseware.

4. Video frame capture

Using video playback software such as Super Street Fighter and kingplayer, the video images displayed on the screen can be captured in a single frame and stored as static graphics. (Link to the screenshot page of Hero Solution) If the computer is equipped with an image acquisition card, we can use it to capture a certain video image and get a digital image. This method is often used to intercept videos from other multimedia courseware and use it in our multimedia software. This method is simple and flexible, but the image quality produced is generally difficult to compare with the scanning quality.