The latest version allows for shrinking if card is smaller.
It's impossible to shrink the partition size without knowing the file system structure. All a program like DiskImager can do is to stop writing at the end of the card. You will lose the data which has not been written to the disk. In most cases you will lose all data because file systems refuse to mount if the end of the partition cannot be accessed.