[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/vt/ - Virtual Youtubers

Search:


View post   

>> No.2793330 [View]
File: 2.36 MB, 2807x4000, 88825648_p0.png [View same] [iqdb] [saucenao] [google]
2793330

>>2791563
yes - here's an example of a .png that it works on. currently, the program will strip empty alpha channels - the resulting file will be visually identical but not bit for bit identical. i'm not sure if this is a feature or a bug.
if you want to verify that the files are identical on windows (if you're on linux, you should be able to figure it out. if you're on mac, lmao mac.)
>download pngcrush: https://sourceforge.net/projects/pmt/files/pngcrush-executables/1.8.11/
>make a batch file next to the .exe, put this in it
if [%1]==[] goto :eof
:loop
pngcrush_1_8_11_w64.exe -force -m 1 -l 0 %1 "%~n1_decompressed.png"
shift
if not [%1]==[] goto loop
>drag .png files onto the .bat icon to decompress
>hash the decompressed file (http://implbits.com/products/hashtab/ if you don't know how to do this)
>run pinga on the original file (set compression to lossless else it will convert the image to jpg - make sure 'strip metadata' is set to 'none' and 'keep rgb values' is checked)
>decompress the compressed file with the .bat then hash it
the hash values will be the same. bit for bit identical.

Navigation
View posts[+24][+48][+96]