Color pallet using image
Creating color swatch from Psd or vector in XD is possible. How to create color swatch using image file.
Please see if this video helps in solving your issue: https://youtu.be/HhZUs-DSmBg
If you are looking for a feature, that will automatically create a color palette for you from imported image, please add the request as a new feature request instead of bug.