It depends on the case. When you just want to enjoy and use the picture without mosaic, it's definitely not against the law. If you post it on some social media for others to share, it may volate the law.