Z image automatic image generation and processing (solving the problem of poor randomness)