This is a question for Cliff Reiter ("Fractals, Visualization and J", chapter 8, "Image Processing") or anyone else who has worked with images using J:
How can I change the DPI (dots per inch) resolution of an image with J? That is, if I have an image with a resolution of 150dpi, how can I load, process with J, and resave it at, say, 300dpi or even 200dpi for possibly somewhat improved OCR (text or music) use? (I realize that the resulting size of the image will be smaller, and that may create its own issues. However, it is very important for me to know how to change the resolution data.) The previous paragraph dealt with SCANNED images. How would this be done with digital CAMERA images where the image is a given size in pixels, but there's no specific dots-per-inch specification? In other words, how can I use J to specify a DPI resolution? Please note that I am NOT asking for how to resize or resample an image. Essentially, the pixels should remain untouched, except for the portion of the data that indicates the number of dots per inch. Harvey ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm