Possibly from German Maler. By surface analysis, malovat (“to paint”) + -íř.
malíř m anim (feminine malířka, related adjective malířský)