Hello @nikkho, I saw that you reverted ImageW to version 1.3.4 again which doesn't contain the fix for this bug. https://sourceforge.net/p/nikkhokkho/code/1732/ I've asked the creator to create an imagew 1.3.5 version but it would be helpfull to revert this change if possible.
Hey I saw you closed this ticket. Is it resolved now?
The issue is now fixed by the maintainer of imagew: https://github.com/jsummers/imageworsener/issues/41#issuecomment-1089151580 You have to change the CLI to include: -opt bmp:version=auto
So previously this issue happened with for example the Image I've attached. I did just retest this and apparently it doesn't happen anymore. So this issue can be closed :).
The command I'm currently using is quite long: https://github.com/devedse/DeveImageOptimizer/blob/1f27f13edd45d7f102dc2a1097d1ef3c3a744aee/DeveImageOptimizer/ConstantsAndConfig.cs#L46 It includes these flags already: /AllowMultipleInstances=true /BeepWhenDone=false So I don't think the cause is the /BeepWhenDone flag
The command I'm currently using is quite long: https://github.com/devedse/DeveImageOptimizer/blob/1f27f13edd45d7f102dc2a1097d1ef3c3a744aee/DeveImageOptimizer/ConstantsAndConfig.cs#L46 It includes these flags already: /AllowMultipleInstances=true /BeepWhenDone=false
@Nikkho, are you still interested in fixing this issue? It can be done by removing the exif rotation flag before optimization and reapplying it after.
@Nikkho, not sure if this is still on your list but I've since worked around the issue in my own application by calling the optimizers directly.