Re: How do I batch change photo DPI settings
"Paul Furman" <paul-@xxxxxxxxxxxxx> wrote in message
Mark W. wrote:
My dumb OCR software will refuse to OCR an image if it's lower than a 96
dpi setting in it's properties.
It doesn't care that the pixel dimentions are much higher than some other
much smaller pixel dimention
file if it's properties say it's dpi is under 96 dpi.
So, how can I batch change many image files (usually JPEG's) to a
particular dpi property setting?
I'm using Omipage Pro 14 to do the OCR.
Irfanview sounded familiar. Turns out I already had it installed. It only
took a few minutes to figure out how to batch reset the DPI's in my files.
Funny that it always compresses the files to about only 27% of the original
I would prefer that it left the file quality alone.
I'm only resetting the DPI numbers. I experimented with resetting to 3
different DPI's: from the original 72 DPI, to 96, 300, and 600. The
resulting new files are all exactly the same NEW size regardless of which of
those 3 DPI's I reset the files to.
Am I just unaware that I chose some compression unintentionally?
Couldn't find anything about compression or image quality/resolution in the
- Re: Resizing form at runtime (System Metrics)
... For example, if your code checks the system and discovers that it is using something other than the standard font size (dpi) setting of 96 dpi do you want your Form and all its contents to be enlarged appropriately or do you want your Form to ignore those settings and display itself at the size it would be on a machine running at the standard 96 dpi? ... In fact that is the default behaviour of a VB6 Form and it does so automatically, increasing the pixel size of itself and its contained controls in response to the user's Windows dpi setting, unless you add a lot of code to prevent it from doing so. ... But VB will still "expand and enlarge" all the Form's contained Controls and captions and text items and and things fully regardless, which will in the case of "not enough screen area" result in some of your Controls being clipped off the right edge and the bottom of the Form. ... So, for just this one specific aspect, you first have to make an "executive decision" as to how in general you want your Form to behave and then you need to add code to account for all the possible circumstances it may encounter in doing so. ...
- Re: checkbox caption wraps!
... line of text to wrap regardless of whether the dpi on ... less standard 96 dpi setting and the font for a Label ... size to 11 pixels, which on this 96 dpi machine ...
- Re: checkbox caption wraps!
... Running your exe on a machine that is not set to exactly the same settings as your own machine can cause a single line of text to wrap regardless of whether the dpi on the customer's machine is higher or lower than your own, unless you specifically include code to prevent it happening. ... The first problem is that there are 72 points in one inch and it isn't therefore actually possible to have an 8 point font on a machine that is running at the standard 96 dpi setting because the point size of a font must always be a "whole pixel" value on the device on which it is being used. ... So, Windows in this case sets the font size to 11 pixels, which on this 96 dpi machine ...
- Re: Overriding Windows display settings - vb6
... The very first thing you need to do, before you even consider doing anything else, is to make sure that your program is not messed up when it is run on Vista and Win7 machines where the user has set a large dpi setting and where they have not placed a tick in the box 'Use WindowsXP Style DPI Scaling'. ... In such cases, unless you do something about it, Windows will lie to your VB program about the dpi setting and it will lie extremely convincingly, affecting not only VB properties and methods but also any GDI function you might be using. ... You can overcome this problem by instead using a manifest, because Windows acts on the contents of the manifest before it even starts running your program code. ...
- Re: Screen font size - user set ?
... Yes - the user had changed the DPI setting. ... My dialog boxes still line up correctly over all the display ranges and DPI ...