I want to create a web app where the user uploads a photo and downloads it after applying the desired filter to the photo. Do I have to use the database? Is it necessary to store the photo in the database?
@NogDogNov 20.2022 — #The photo itself? No. (If you need to store it, store it in the file system -- for which you might want some mechanism to ensure it has a unique file name.)
Depending on what you want to do, you _may_ want to store info _about_ the photo in the database, perhaps.
@Heyemjay22Nov 21.2022 — #Storing images in a database table is not recommended. There are too many disadvantages to this approach. Storing the image data in the table requires the database server to process and traffic huge amounts of data that could be better spent on processing it is best suited to.https://heyemjay.us/