If you want good image quality get a second hand DSLR and macro* lens - The TG series have pretty poor sensor performance overall although they do have some advantages (Waterproof, compact, and very durable).
*Nikon calls them Micro lenses
A few other threads that might be of interest:
What camera do you use for nature photography?
New camera for macro photography
Looking to upgrade my nature photography camera