Libra Wu <Libra
> wrote:
>
>I check the Microsoft WDK 7600 sample code.
>I find the PNG files of WDK swtuner folder, but I can’t watch it on Windows
>OS.(path is :
>\WINDDK\7600.16385.0\src\swtuner\MergedDevice\BDA DMBTHTuner\Images)
>I want to use the Microsoft Paint or Adobe Photoshop to edit it, but the
>picture cannot be opened.
>I don’t know how to modify it.
>Could you give me any suggestion?
The developers must have been on drugs when they created those files with
..png extensions. Those files contain PNG images that have been Base64
encoded, then written out in Unicode (UTF-16).
You will have to use some kind of program to convert them to image files. I
was able to use a Python script to read them in and decode them:
import base64
import codecs
s = base64.b64decode( codecs.open('bg2.png','r','utf-16').read() )
open( 'bg2x.png', 'wb' ).write( s )
--
Tim Roberts,
Providenza & Boekelheide, Inc.