Ok335xs Psplash make-image-header.sh Hacking

Source: Internet
Author: User

/***************************************************************************** * OK335xS psplash make-image-he Ader.sh Hacking * Description: * Transplant when you want to know the transplant Psplash./make-image-header.sh Screenshot.png POKY * The last POKY why to specify, feel as long as the interpretation of this code can know why The * 2016-4-18 Shenzhen Nanshan Ping Shan village Zengjianfeng ************************************************************ ****************/#!/bin/sh#-e If the command returns with a value other than 0, exit immediatelySet-e#1. Syntax # basename String [Suffix]#2It is known from here that the picture if the. png file Imageh= ' basename $1. png '-img.h# Here is the variable name for subsequent modifications name="${2}_img"# Generate file GdK-pixbuf-csource--macros $1>$imageh. tmp# modifying file contents sed-E"s/my_pixbuf/${name}/g"-E"s/guint8/uint8/g"$imageh. tmp > $imageh && RM $imageh. tmp

Ok335xs Psplash make-image-header.sh Hacking

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.