Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Image handling
#1
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
#2
Need to find a way to resize with good quality. I know several ways but don't know which is the best. For example with GflAx library can easily resize and load/save in any format. Search for GflAx in this forum. Also can do all it with GDI+. And even with CopyImage, but probably bad quality. Google for more ways.
#3
Thanks
#4
How are you getting the images?

-Jim
#5
I have a macro to copy from google image, found by using pattern from artist - album
properties.


Forum Jump:


Users browsing this thread: 1 Guest(s)