[TYPO3-core] RFC #11177: Feature: New options noRescale and resolutionFactor for getImgResource()

Franz Koch typo.removeformessage at fx-graefix.de
Mon May 25 11:01:51 CEST 2009


Hi Ries,

> DPI For screen doesn't make sense, DPI is used for raster images only 
> (print industry)
> 
> See it like this: if your screen is 42" with a resolution of 1024x768 
> then your so called 'DPI'
> is totally different then a 10" netbook with the same resolution. (both 
> are not 72 DPI).
> 
> So a DPI setting for screen media is totally bogus.

yes, it doesn't make sense for screens, but you also don't need to set 
it for onscreen images. You only use this setting if you have TYPO3 
generating print output (may it be PDF or a prepress image for download) 
- and for that this is very useful. Or think of a online shop with lots 
of products and high-res images and TYPO3 is the managing software for 
that. So, TYPO3 would be used for generating the online shop which is 
nothing outstanding these days. But by TYPO3 having prepress features, 
you could also create XML-product sheets with links to dynamically 
prescaled prepress images (300dpi) that you could use in your DTP 
workflow to generate your print catalog (DB-driven catalog creation is 
not that uncommon anymore these days).

> also, that the setting the in the install tool 'works' doesn't mean the 
> setting is right,
> it has properly something to do with internal processing of text on images.

As Xavier explained, it's the internal scaling/mapping factor from pt 
font-sizes to pixel font-sizes. And it's only needed, because Freetype 
once changed their behavior and there could be differences based on the 
webservers OS.

> So please stay away from any DPI setting in typo3 for images and text 
> (except for that TTFDPI thing??)

As mentioned above - this setting is only needed and useful in 
combination with print output - so for this it makes sense.

-- 
kind regards,
Franz Koch

---------------------------------------------------
PayPal-Account: 'paypal _at_ elements-net _dot_ de'
---------------------------------------------------


More information about the TYPO3-team-core mailing list