Hi,
Found a strange bug. We produce print material and convert RGB images to CMYK with ICC profiles.
When we do resize, flatten and convert to CMYK in two steps, the resulting JPG becomes blocky. The resolution in pixels is correct, but it looks like it's been upscaled from about half it's final size.
org.png -resize 257 -background white -flatten orgRes.jpg
convert orgRes.jpg -profile EuropeISOCoatedFOGRA27.icc cmykOut.jpg
If we do everything in one operation, the result is perfect.
convert org.png -resize 257 -background white -flatten -profile EuropeISOCoatedFOGRA27.icc icc cmyk.jpg
In this case the org.png has an ICC profile. If an image without ICC profile is used, the blocking doesn't occur, but colours are (as expected) off. If we define a 'from' profile for an image without ICC, we get the same blocky result.
Converting from PNG to CMYK JPG in steps give blocky image
Re: Converting from PNG to CMYK JPG in steps give blocky ima
Add -quality 92 to your command line just before your final JPEG output filename. Does that improve the result?