Prev: Moving and incrementing directory names
Next: Smtp bug
From: Harald Oehlmann on 16 Jun 2010 03:19 An image is created using "image create photo". This may be saved using the method "write" "image photo" has the capability to save an image into a file. Is it possible to set the resolution setting (often called dpi), present in many image file formats ? An image always has Width and Height in Pixels. Using the Resolution (example: 96dpi) , one may calculate the size in inches or mm. Does the TkImg extension provide this possibility ? Thank you in advance for any reply, Harald
From: Kroc on 16 Jun 2010 16:26 On 16 juin, 09:19, Harald Oehlmann <wortka...(a)yahoo.de> wrote: > Is it possible to set the resolution setting (often called dpi), > present in many image file formats ? Hi Harald, I think the pure Tcl TIFF package (http://wiki.tcl.tk/9245) allows this in raw2tiff and photo2tiff procs. -- David Zolli
From: Harald Oehlmann on 17 Jun 2010 08:56 On 16 Jun., 22:26, Kroc <k...(a)kroc.tk> wrote: > I think the pure Tcl TIFF package (http://wiki.tcl.tk/9245) allows > this in raw2tiff and photo2tiff procs. Yes, indeed, thank you, Harald
From: Kroc on 17 Jun 2010 09:08 You're welcome Harald, If you need something for JPEG, you might also have a look at EXIF and Jpeg tcllib packages and upgrade them to add possibility to edit/save x-Resolution, y-Resolution and Resolution Unit tags. -- David Zolli
|
Pages: 1 Prev: Moving and incrementing directory names Next: Smtp bug |