I believe that you are using Unity3D for development, sadly, Resources cannot be used at runtime, as it is built into the app before runtime itself, in other words, your application does not really have the Resources folder anymore, you would have to save the image to a path after converting it to a texture, you would have to use persistent datapath to save it as .jpg, havent tried it before, but should work. So, you can use images in the Resources folder that were built into the app, but cant add new stuff into Resources at Runtime sadly.