DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

save image as .tiff -- resolution

Started by j-wetzel, March 19, 2008, 09:39:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

j-wetzel

DesignCAD 3D Max 18.1 on Vista Business machine.

In response to an inquiry about the suitability of .tiff graphics files instead of .eps, the editor of the journal in which I propose to publish an article wrote:  "TIFFs are fine instead of EPS files, but make sure that the resolution is sufficiently high.  The rule is that there should be at least 400 pixels for every linear inch.  So a 1200 by 1600 file would be necessary for a 3" by 4" picture."

If I use "save image file" to save a shaded image in .tiff format, how can I control the resolution?

--Jack

Dr PR

The resolution of images saved by the "File/Image/Save Image File" operation is a bit "fuzzy" (pun intended). You can select the image size in pixels (width and height) by typing numbers in the "Width" or "Height" boxes, and there are several ways ( wireframe, hidden, shaded, current window) to save the image. However, my experience is that all you you get is the actual resolution that is shown on the screen - if the dialog shows the "Same as current display" resolution as 1000 x 1000, no matter what numbers you select you still get only 1000 x 1000 actual pixels, but they may be represented in the output file by many more pixels.

For example, lets suppose the current display window resolution is 500 x 500 pixels, and you type in a width of 1000 pixels (height will automatically change to 1000 to maintain the same horizontal to vertical relationship) and then save the file. If you examine the file in another bitmap viewing program like Photoshop you will see that there are 1000x1000 pixels, but they really show only the original 500x500 image, with each original pixel represented by a square of some number (I haven't figured out the exact relationship) same colored pixels in the image file. You get more pixels, but not more resolution.

There are two things you can do to improve pixel count.

1. Maximize the window with the image to be saved. This puts more pixels on the screen, so more pixels go to the saved image file.

2. Print the image to a PDF file. The freeware program "CutePDF" does a very good job - you install it as a printer and then just print to CutePDF and it saves the image as a PDF file. It seems to print at "72 pixels per inch" relative to the selected page size, and you can assign just about any paper size to the "printed" document, so you can get about any pixel size you want. This will produce a MUCH better image than the "File/Image/Save Image File" function.

Say you pick an ordinary 8 1/2" x 11" page - the image will be 8.5x72=612 by 11x72=792 pixels. But if you assign a page size of 60"x48" you get a file with 4320x3456 pixels.

You can open the PDF in Acrobat Reader and then select the image - it will be copied to the clipboard. Then you can open a bitmap editor, such as Microsoft Photo Editor or Photoshop, and paste the image into the editor program. You can save the image in TIFF format (or other formats) if you want.

Check with the journal editor to see if the PDF file is suitable. It probably is.
DesignCAD user since 1987

Lar

Quote from: Dr PR on March 19, 2008, 01:31:47 PM
You get more pixels, but not more resolution.

Actually, this is not the whole story. This indeed happens, but only when you choose "Current Display" (the default) in the "Save Image As: " field. To get a sharper image, choose any of the other options and enter the desired amount of pixels in the width and height fields.

Lar

Dr PR

Ah, so ...

Thanks Lar!

Another confusing issue is that when you open a bitmap image in most "picture" viewers they dither the image with antialiasing, so what you see is a lot more pixels than are really in the DesignCAD output.
DesignCAD user since 1987

magic

Hi J-Wetzel,

Your editor will probably want your .tif file color separated i.e. CMYK format rather that RGB format, which is what DesignCAD delivers.

I'd use Dr PR's method and then use Adobe PhotoShop to convert the .pdf it into CMYK format.
It's a kind of magic!




j-wetzel

Youse guys is the greatest!  Thanks so much for your responses and suggestions.  In my case the drawings are black-and-white -- very few print mathematics journals do color printing, although some of the on-line journals make color graphics available to authors.  I have to rely on gray tones to give depth to the surface, and I usually do that by projecting the wireframe 3D drawing into the plane and then shading the facets one by one by hand to achieve what I want.  You professionals would probably laugh at this awkward and tedious way of doing things, but it seems to work, and nothing else I've tried has worked at all (for me).  Maybe I should hunt for a tutorial on this sort of thing.

Anyhow, thanks so much for your advice!
--Jack

support

Nice answers guys...makes me worry about why I am here.

edgar

Quote from: Support on March 21, 2008, 09:06:08 AM
Nice answers guys...makes me worry about why I am here.

We were getting a bit concerned that you were not here! Welcome back, stick around and put DrollTroll's feet to the fire (will that work in the cave?? he might just enjoy it...) and get him to resurface!  :)
-Ed

Dr PR

Jack,

I see what you are doing - I have resorted to labor intensive efforts like yours to get what I want.

You should experiment with the different shading options in DesignCAD. Quick shade will give you distinct facets and Gouraud shading will blend the facets into a smooth surface. If you select the entire grid and give it a neutral or midrange gray color with the "Default" material you can achieve a range of light and dark grays by experimenting with lighting effects in "Options/Options/Light Source." I have had best results with the default directional light. Be sure to deselect the "Move with eye" option if you want the lighting to be from a constant mathematical or geographical direction. You can even add shadows to enhance elevations.

Even if this gives less than desired results you shouldn't have as many facets to hand color.

DesignCAD user since 1987