Page 1 of 1
How to bulk convert PNG to JPG
Posted: Thu Jan 26, 2023 2:29 pm
by cutefish.ae
Hi everyone, I'm a beginer developer who wants to make a tool to convert PNG to JPG and JPG to PNG formats, the reason I want to make these tools is because I want to make it easier for after effects users under the CC2019 version, who get the following error like in bellow
im using windows batch
Can someone teach me, and sorry for bad english

Re: How to bulk convert PNG to JPG
Posted: Thu Jan 26, 2023 2:41 pm
by cday
You have used Tools > Batch convert... already, or not?
Re: How to bulk convert PNG to JPG
Posted: Thu Jan 26, 2023 2:45 pm
by cutefish.ae
I forgot to say, soo this error is happening if you try to import photo that have an bad footer
i already search how to fix it but it takes a lot of time
according to the method that I have seen on YouTube, photos that cannot be imported into after effects must be edited in mspaint, then you can import it to after effect, but thats takes a lot time for fixing more than one photo
Re: How to bulk convert PNG to JPG
Posted: Thu Jan 26, 2023 2:47 pm
by cutefish.ae
cday wrote: Thu Jan 26, 2023 2:41 pm
You have used Tools > Batch convert... already, or not?
Not, because i want to convert more than one file :')
Re: How to bulk convert PNG to JPG
Posted: Thu Jan 26, 2023 3:03 pm
by cday
So you have many images that After Effects CC 2019 can not open?
cutefish.ae wrote: Thu Jan 26, 2023 2:45 pm
I forgot to say, that this error is happening if you try to import photos that have an bad footer
i already search how to fix it but it takes a lot of time
according to the method that I have seen on YouTube, photos that cannot be imported into after effects must be edited in mspaint, then you can import it to after effect, but that takes a lot time for fixing more than one photo.
Are you able to upload an example image that Pierre, the developer of xnview software, can examine?
And are you able to summarise the method that can be used in MS Paint to correct the file defect, or identify the defect?
Re: How to bulk convert PNG to JPG
Posted: Thu Jan 26, 2023 3:06 pm
by cutefish.ae
cday wrote: Thu Jan 26, 2023 3:03 pm
So you have many images that After Effects CC 2019 can not open?
cutefish.ae wrote: Thu Jan 26, 2023 2:45 pm
I forgot to say, that this error is happening if you try to import photos that have an bad footer
i already search how to fix it but it takes a lot of time
according to the method that I have seen on YouTube, photos that cannot be imported into after effects must be edited in mspaint, then you can import it to after effect, but that takes a lot time for fixing more than one photo.
Are you able to upload an example image that Pierre, the developer of xnview software, can examine?
And are you able to summarise the method that can be used in MS Paint to correct the file defect, or identify the defect?
No i cant find it how

Re: How to bulk convert PNG to JPG
Posted: Thu Jan 26, 2023 3:21 pm
by cday
cutefish.ae wrote: Thu Jan 26, 2023 3:06 pm
cday wrote: Thu Jan 26, 2023 3:03 pm
Are you able to upload an example image that Pierre, the developer of xnview software, can examine?
A download link to where you posted your image above
aftereffecterror.png?
cday wrote: Thu Jan 26, 2023 3:03 pmAnd are you able to summarise the method that can be used in MS Paint to correct the file defect, or identify the defect?
No i cant find it how
A link to that webpage?
Re: How to bulk convert PNG to JPG
Posted: Thu Jan 26, 2023 3:28 pm
by cutefish.ae
cday wrote: Thu Jan 26, 2023 3:21 pm
cutefish.ae wrote: Thu Jan 26, 2023 3:06 pm
cday wrote: Thu Jan 26, 2023 3:03 pm
Are you able to upload an example image that Pierre, the developer of xnview software, can examine?
A download link to where you posted your image above
aftereffecterror.png?
cday wrote: Thu Jan 26, 2023 3:03 pmAnd are you able to summarise the method that can be used in MS Paint to correct the file defect, or identify the defect?
No i cant find it how
A link to that webpage?
Sorry for interrupting, I already understand how to bulk convert
So the first time i tried
Code: Select all
"tools\nconvert" -out png input\ *.jpg
but it doesnt work
soo i try
Code: Select all
"tools\nconvert" -out png "input\*jpg" *.jpg
and it workssss. i already try this menthod in imagemagick but it doesn work, so i try to search alternative for imagemagick and found this software
it help me a lot, and more easier for beginer

Re: How to bulk convert PNG to JPG
Posted: Thu Jan 26, 2023 3:52 pm
by cday
You are using NConvert [now?] but you posted in XnView MP...
cutefish.ae wrote: Thu Jan 26, 2023 3:28 pm
Sorry for interrupting, I already understand how to bulk convert
So the first time i tried
Code: Select all
"tools\nconvert" -out png input\ *.jpg
but it doesn't work
You have a space in input\ *.jpg which is probably the reason...
So I try:
Code: Select all
"tools\nconvert" -out png "input\*jpg" *.jpg
and it workssss.
I think the following code should be sufficient:
Code: Select all
"tools\nconvert" -out png "input\*jpg"
cutefish.ae wrote: Thu Jan 26, 2023 3:28 pmI already try this method in imagemagick but it doesn't work, so i try to search alternative for imagemagick and found this software
it help me a lot, and more easier for beginner

I think that NConvert is certainly easier to understand...
