Using this code
dim p as Picture p = picture.Open(GetFolderItem("c:\temp\aaa.png",3))
Into desktop app, p has horizontal and vertical resolution as 96; type ImmutableBitmap = 3
Into console app, p has horizontal and vertical resolution as 72; type MutableBitmap = 2
When p is saved with
p.Save(f, Picture.SaveAsPNG, -1)
and than f is passed to zbarimg.exe for barcode recognition, into desktop app barcode is recognized, but not into console app.
So my question is: "Why the same code with the same source image file, produces different picture objects?"