04-02-2013, 05:33 PM
Hi Gintaras, hi all,
I have a huge CD collection to tag, and need to automate my favorite tag software.
I'm stuck at image step. I can find the image url from google image yet.
1.) I'd need 3 steps more:
- get the image (i can do that)
- resample it to 300x300 (can do it too)
- save it to disk (done)
What would help me is to do all those step *in memory* only, without any disk write.
Get URL of image -> get image in memory (bitmap) -> resize in memory -> change to jpg (some images are bmp, others in png), and only then save to a file name folder.jpg.
Possible?
2.) More generaly, what is the correct procedure to save any clipboard image in PNG file on disk?
Thanks
I have a huge CD collection to tag, and need to automate my favorite tag software.
I'm stuck at image step. I can find the image url from google image yet.
1.) I'd need 3 steps more:
- get the image (i can do that)
- resample it to 300x300 (can do it too)
- save it to disk (done)
What would help me is to do all those step *in memory* only, without any disk write.
Get URL of image -> get image in memory (bitmap) -> resize in memory -> change to jpg (some images are bmp, others in png), and only then save to a file name folder.jpg.
Possible?
2.) More generaly, what is the correct procedure to save any clipboard image in PNG file on disk?
Thanks