News:

Interested in some really terrific mobile apps? Visit www.turboapps.com for details.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Saving as a JPEG/PNG and getting the size right: How?

Started by AotrsCommander, October 27, 2022, 05:17:22 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

AotrsCommander

I am struggling with TurboCAD 2021. I have an image I need (a piece of precision work) that I need to have out in the exact size. The machining device apparently doesn't like DXFs particularly, so it needs to be a JPEG or PNG. (It's a paper cutter belonging to my sister, as opposed to previous jobs done on the laser cutter; I thought that it might be easier to use that than dig the laser cutter out, because it's a lot of effort, but its starting to look like I was mistaken.)

However, the print settings are extremely unintuative. I hacve just barely managed through trial and error to get something right previously, but on using the same settings again (but just as a straight image and not imbedded into a Word document(), it's just not coming out the right size.

I care far less about the resolution than I do about the actual print size, so to some extent, resolution can be whatever it reasonably can, so long as the parts are sized right.

I basically just want to get TurboCAD to save an A4 sheet image as an A4 sheet size, preferrably as a PNG (but, if all else fails, a JPEG which I can at least format swap with no size change in Paintshop Pro 8 ).

What settings on the do I need to use on the Save as... Setup menu (treat me like I'm five, if necessary) do I need to get TurboCAD to do this? (setting it to 6050x4347 only gets close and if I have to spend hours of trial an error, I defeat the point of trying this).

The file in question is attached.You cannot view this attachment.

nikkipollard

I wonder if it wouldn't be better to use a graphic software - not word - word isn't meant to be accurate.
graphic designers use Programs like Illustrator - or Inkscape. Start with a vector graphic and only convert when its right.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Torfinn

There was no picture in your drawing
A A4 Landscape is 3508 x 2480 Pixel at 300 dpi
Maybe you could try that

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

AotrsCommander

#3
Quote from: nikkipollard on October 27, 2022, 05:47:28 AMI wonder if it wouldn't be better to use a graphic software - not word - word isn't meant to be accurate.
graphic designers use Programs like Illustrator - or Inkscape. Start with a vector graphic and only convert when its right.

I'm sorry, I wasn't very clear, I'm suffering a bit from my flu jab.

The best I managed previously from getting an image out for TurboCAD was sized based on its placement in a set of rules (tokens, basically, that needed to be the right size), which I did by setting it to output to 6050x4347 pixels and as such, I did the trial-and-error on the settings I used based on the placement within a Word document (by printing that page of the document until it was Close Enough). Those setting does not result in the same size when just the image itself is printed, however, so it might have been close enough, but it wasn't accurate - alright for token, less for a structure that needs to fit with the previous ones. (I did a test - printed the image from TCAD and then compared it to a print of the image saved on those settings as a JPEG.)



Quote from: Torfinn on October 27, 2022, 06:27:02 AMThere was no picture in your drawing
A A4 Landscape is 3508 x 2480 Pixel at 300 dpi
Maybe you could try that

Torfinn

I want to save the drawing (on Paper 1 specifically; I'm sorry, I didn't specify, but I half-assumed the file would have saved it on that page, but maybe it didn't - like I say light-headed at the moment) AS a JPEG.

I can't see a DPI setting on either of the set-up options, which appears to be part of the problem (but thank you, those provided details are a good start, at any rate).

There's the quality slider, the maximum resolution tickbox, the tile button (which isn't clear what it actually does) and the custom height and width.

Previously, I must have played with the latter settings and arrived at 4347x6050 (or vice versa), which when placed into my rule document and printed and measure must have come out as I say, close enough.

(I can't put the image into a word document even if the size is right this time since my sister's cutter only has a limited selection of files it is supposed to read DXF, PNG, BMP and JPEG; DXF would obviously be the best one, but she says it doesn't seem to like it - I'm trying with a DXF for each individual "cloud" to see if that helps, but...)



Edit: Some hours later, after losing four to the flu jab, I tried using Tofrinn's numbers (3508 x 2480) which according to PSP8, came out at a 200 pixels a centimetre (or 508 pixels an inch). So that gives me at least a conversion factor to try, if nothing else. (508/300 = 1.693')

I tried 4199 x 5940... which was close, but still didn't come out right.

In the end, my Dad suggested printing to PDF and using a converter (which came out at 3509 x 2481 at 300dpi)... Which still didn't print out right the right size (unlike the PDF) once converted to JPEG. I finally tried printing that image through Irfan viewer (the forth way of printing it...) and I *finally* got it the right size. Progress...

Jeff_in_90620

You have drawn your designs directly into Paper space.  The Page Size for printing is almost irrelevant (the Height and Width ratios are the only thing that matters).

  • Save As
  • Choose PNG (but do not complete, yet)
  • Go into Setup
  • Specify Height and Width
  • Complete the Save As operation

The resulting image will have the height and width you specified.  However, if the Height/Width ratio does not match the ratio of the Page Size parameters, your output will be squashed or stretched.

You may have to experiment with Page Size selection and perhaps even scale your objects inside the page, but once you home in on the desired output, it will be easy to duplicate.


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

John R

I used the "Save As" PDF method. Opened the PDF in Adobe Acrobat XI Pro. Went to "File / Save As Other / Image / JPEG (and PNG)". Under "Settings", I set the Resolution to 600 DPI, then Saved. They look okay when viewed at 'actual size'.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

AotrsCommander

Quote from: Jeff_in_90620 on October 27, 2022, 02:14:14 PMYou have drawn your designs directly into Paper space.  The Page Size for printing is almost irrelevant (the Height and Width ratios are the only thing that matters).

  • Save As
  • Choose PNG (but do not complete, yet)
  • Go into Setup
  • Specify Height and Width
  • Complete the Save As operation

The resulting image will have the height and width you specified.  However, if the Height/Width ratio does not match the ratio of the Page Size parameters, your output will be squashed or stretched.

You may have to experiment with Page Size selection and perhaps even scale your objects inside the page, but once you home in on the desired output, it will be easy to duplicate.


Jeff

That's what I was trying, but it wasn't coming out the right (exact) size despite repeated attempts.

Quote from: John R on October 27, 2022, 03:40:18 PMI used the "Save As" PDF method. Opened the PDF in Adobe Acrobat XI Pro. Went to "File / Save As Other / Image / JPEG (and PNG)". Under "Settings", I set the Resolution to 600 DPI, then Saved. They look okay when viewed at 'actual size'.

That's what I did in the end (I think I use print to PDF instead of save as, but the results are pretty much the same - we know from expereince that the PDF print out at the correct size). The issue was that PDF wasn't a file type my sister's machine could use, so I hadn't considered until my Dad suggested it. Googling PDF to JPEG converter got me a link which I had clearly used before, almost certainly when I was doing an image for my rules release that I'd just forgotten about. (In that case, it was getting the cover page into something I could use as a product image from ibedded phot/text in Word). I'd just not thought abut doing a conversion.

(And recently, I was doing something in TCAD that I needed out as an image, but for which the exact dimensions didn't matter, only getting it internally consistent, and the values I'd previously used were Good Enough.)

Jeff_in_90620

Quote from: AotrsCommander on October 29, 2022, 02:22:51 AMThat's what I was trying, but it wasn't coming out the right (exact) size despite repeated attempts.

Seems to me you'll have more predictable results if you move everything to Model space.  From there, the extents when saving/exporting will be determined by the size of the (selected) objects, not the size of the page.

You can even select a single object and Save As with Selection active to control the individual size.


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

murray dickinson

How does this machining device accept input?  CNC normally takes an outline and processes that with similar effect to TC's offset, describing the tool axis' offset from it and creating a g-code polyline instruction set to follow that path.  The older print protocol HPGL was quite commonly used a couple of decades ago, is this graphic format requirement related to that?