Open adityadhawan22 opened 2 years ago
Thanks for the question! Is this in terms of file chunks or PNG chunk layout?
File chunks. For now, I am splitting the files using rar now. And then encoding them all using a bash script.
# if no argument is passed exit
if [ -z "$1" ]; then
echo "No argument passed"
exit 1
fi
echo "Listing all files: $1"
fileNames=`ls $1.*`
# if length of fileNames is 0 exit
if [ -z "$fileNames" ]; then
echo "No files found"
exit 1
fi
for eachfile in $fileNames
do
echo "Making the file into png $eachfile"
`cargo run encode -p -t=rgba $eachfile`
done
Doing this since google does not allow storing more than 100MB pictures 😛
😅I didn't include file chunk splitting in pngifier
as I wanted to keep it to a minimum, but also because some users may want to customize the file chunking process (parallelize it, compress it, etc), but thanks for taking a look at this project! If you liked it, feel free to 🌟!
Thanks for the question! Is this in terms of file chunks or PNG chunk layout?