Closed KendallDoesCoding closed 2 years ago
Hi Kendall, I'll take care of this task if you don't mind. Thanks!
Hi Kendall, I'll take care of this task if you don't mind. Thanks!
Hi @eduarecnam , I'm not assinging anyone for this, as it's not a issue as of such, I only need help to find a gh-action, so if you find one please let me know.
On the other hand, if you can help make a gh-action to do so, then I'll assign you, but if your sharing a already existing gh-action, please do so here.
Hi @KendallDoesCoding I found these two resources quite useful:
I've been trying to make it work on my copy's repo, but I think I don't end up of understanding how exactly Github actions works. But trying this on my laptop to change the extension from png to jpg does work:
mogrify -format jpg *.png
On the .png part of this command, you got to add the whole path towards the .png files. This is, if your files are at /home/user/images path, the command would be then: `mogrify -format jpg /home/user/images/.png`
So I'd say that this should work (see attached file) imagesConverter.yml.zip
I hope you find this helpful and if you manage to make it work, please let me know about it. Thanks!
Hi @KendallDoesCoding I found these two resources quite useful:
- https://github.com/marketplace/actions/find-and-replace
- https://github.com/marketplace/actions/imagemagick-action
I've been trying to make it work on my copy's repo, but I think I don't end up of understanding how exactly Github actions works. But trying this on my laptop to change the extension from png to jpg does work:
mogrify -format jpg *.png
On the .png part of this command, you got to add the whole path towards the .png files. This is, if your files are at /home/user/images path, the command would be then: `mogrify -format jpg /home/user/images/.png`
So I'd say that this should work (see attached file) imagesConverter.yml.zip
I hope you find this helpful and if you manage to make it work, please let me know about it. Thanks!
Hi, this does help a lot.. Thanks.
Can you make a PR though?
Done! :)
Done in #318, forgot to close this issue.
As stated in #302 , I would prefer all photos to be in the .jpg format, but I can't help it when I download images from the internet/can't convert the images EVERY single time nor can anyone do it for that matter, so would prefer a gh-action who can automatically convert the images in to .jpg and where the HTML of the img src is stated, update the extension there, if possible.
@TechStudent10 @Panquesito7 - please lemme know if yall find a gh-action that can do this.