|
|||
author | remove search highlighting | ||
---|---|---|---|
posted: 16 Nov 2008 20:59 from: newport_rod click the date to link to this post click member name to view archived images |
I've imported a .bmp scan (300 dpi) of a track plan from an A2 print, but the image is split with the extreme RHS of the image being displayed on the right (see attached jpeg). What am i doing wrong please? An earlier scan (from A3) worked OK | ||
Attachment: attach_411_629_wrapped_background.JPG 170 | |||
posted: 16 Nov 2008 21:45 from: Martin Wynne
click the date to link to this post click member name to view archived images |
Hi Rod, Which version of Windows are you using? Is this on a Mac computer? Does the .bmp image display correctly in other programs and graphics editors? What happens if you click the picture content > reload... button and reload the image? What happens if you adjust the size or scale of the picture shape outline using the mouse actions? What happens if you zoom in much larger? regards, Martin. |
||
posted: 17 Nov 2008 23:15 from: newport_rod click the date to link to this post click member name to view archived images |
Thanks for your quick reply Martin, this is what I found: Which version of Windows are you using? XP Is this on a Mac computer? No Does the .bmp image display correctly in other programs and graphics editors? Yes (e.g. Paint, Alsee, Photoshop) What happens if you click the picture content > reload... button and reload the image? No change What happens if you adjust the size or scale of the picture shape outline using the mouse actions? I can change the size or aspect ratio but the wrapping stays there What happens if you zoom in much larger? I get a larger image, but otherwise no change Regards Rod |
||
posted: 18 Nov 2008 13:51 from: Martin Wynne
click the date to link to this post click member name to view archived images |
Hi Rod, Thanks for the detailed replies. I confess this has got me baffled. It is of course a very large bitmap, and may be exceeding a limit in the Windows GDI which I don't know about, but I can't find anything in the literature to explain it. Please can you send me the file so that I can try it here? Please Zip it up first and then email it to me. Could you also try upgrading to Templot version 091c -- details here . Also worth trying would be to disable hardware acceleration in the Display Properties for your graphics card. Let me know if you need details of how to do that. I'm fairly sure the problem is related to the file size. So a work-around would be to split the image into two or more parts in your graphics editor, then load each part into separate side-by-side picture shapes. Has anyone else seen anything like this? Nothing similar has ever been reported before. A failure to display could be all sorts of things, but displaying the full bitmap with an offset wrap is weird. The graphics driver has to be the prime suspect, but it's working ok in other programs. regards, Martin. |
||
posted: 18 Nov 2008 14:45 from: Martin Wynne
click the date to link to this post click member name to view archived images |
p.s. Rod, A further thought. Did you by any chance save this scan in IBM OS/2 Bitmap format instead of Windows Bitmap? Both use .bmp file extension, but there are some internal differences in the file which can produce unpredictable results in Windows, especially with grey-scale and black & white images if they are RLE encoded. Try opening the file in a graphics program which can handle OS/2 format, and then saving it again in Windows .bmp format. regards, Martin. |
||
posted: 18 Nov 2008 15:05 from: Paul Boyd
click the date to link to this post click member name to view archived images |
Hi MartinHas anyone else seen anything like this?I've not seen this in Templot, but I have seen something very similar in Photoshop. Since seeing this thread, I've been racking my brains to try to remember what the circumstances were. The file in question was a large BMP or TIF, and I have a vague recollection that it was something to do with colour depth, or possibly interlacing (but is there interlacing in a bmp?) I'll see if I can reproduce it at home tonight, which might at least give some sort of a clue. Cheers |
||
posted: 18 Nov 2008 22:54 from: Paul Boyd
click the date to link to this post click member name to view archived images |
Hi Martin I have no idea if this will help you or not, but I've been able to recreate and fix a very similar problem in Photoshop. I scanned a random document that happened to be lying around my desk at both 600dpi and 1200dpi in B&W and saved them as .bmp files. In Photoshop, I rotated each image 90degrees. The 600dpi image worked fine, but the 1200dpi image gave the effect shown in the attached file. Still in Photoshop, I re-opened the 1200dpi image and changed the image mode to 'grayscale' (sic) from 'bitmap'. Rotating the image then worked as expected. To me, this indicates that although the file is a .bmp, the image mode affects the way Photoshop handles it. I bet this comes down to a Windows issue, and I wonder if Templot is handling the file in the same way as Photoshop and hitting the same presumed Windows limitation? I suspect the file size comes into it somewhere. This could be a total and utter red herring, of course I did try loading the scans into Templot, but couldn't replicate the problem there. There are so many variables though. |
||
Attachment: attach_420_629_Untitled-1.jpg 127 | |||
posted: 19 Nov 2008 03:43 from: newport_rod click the date to link to this post click member name to view archived images |
Martin and Paul, Thanks for your help. I've cropped the scan to the extents of the original plan (using Photoshop) reducing the dimensions from 7448*4537 to 6622*2934 and it works OK. So I haven't updated to 0.91 (yet) nor disabled the hardware acceleration. "Did you by any chance save this scan in IBM OS/2 Bitmap format instead of Windows Bitmap?" I'm not sure I didn't do the scan myself but I'll find out. Regards Rod |
||
posted: 19 Nov 2008 03:50 from: Chris Mitton click the date to link to this post click member name to view archived images |
Back in the days when I could still write Windows code, before it all got too complicated and every program still had a beginning middle and end (usually in that order), I seem to remember something buried in a huge manual to the effect that GDI (the third of the Windows kernel that does all the drawing) cannot render a window (be it on screen or a printed page) where any coordinates are greater than 32767 (2 to the power 15 minus one). So if you're trying to print at 1200 dpi, anything more than 32767/1200 inches long (a tad over two feet) is doomed to failure. Halve the resolution and you can go twice as big, and so on....... Microsoft have released several versions of Windows since then but I believe they still work on the same principle. Don't know if the Linux version of Templot will have the same limitation (oh well, we can all dream....) Regards Chris |
||
posted: 19 Nov 2008 04:22 from: Martin Wynne
click the date to link to this post click member name to view archived images |
Chris Mitton wrote: I seem to remember something buried in a huge manual to the effect that GDI (the third of the Windows kernel that does all the drawing) cannot render a window (be it on screen or a printed page) where any coordinates are greater than 32767 (2 to the power 15 minus one).Hi Chris, Thanks for that. Yes, Templot knows about the 16-bit restriction in the GDI for Windows 95/98/ME. It was a left-over from the old Windows 3.1 graphics system. Templot restricts the graphics accordingly on those versions of Windows. Windows NT/2000/XP/Vista uses a 32-bit GDI and the restriction doesn't apply. Rod has sent me his file and it is not a Windows Bitmap file. I'm assuming it's IBM OS/2 format. Re-saving it in Windows Bitmap format cures the problem. I shall have to add a note to the Help text about the importance of selecting the Windows .bmp format when scanning. Hi Rod, Thanks for the file. I shall send you the converted version shortly. regards, Martin. |
||
posted: 19 Nov 2008 04:51 from: Martin Wynne
click the date to link to this post click member name to view archived images |
newport_rod wrote: I've cropped the scan to the extents of the original plan (using Photoshop) reducing the dimensions from 7448*4537 to 6622*2934 and it works OK.Hi Rod, Thanks for sending me the file. It was not in Windows Bitmap format, hence the problem which was the same here. If you have cropped it in a graphics editor and re-saved it, it will now be in the correct format -- and working ok. I was intending to send you back a re-saved version, but there's no need now. regards, Martin. |
||
posted: 19 Nov 2008 23:39 from: newport_rod click the date to link to this post click member name to view archived images |
Martin Apparently it was saved through Corel Draw12 as a bitmap. But I'm happy with the background I've got now so I'm satisfied to close the issue. Thanks to everybody for their input. Regards Rod |
||
Please read this important note about copyright: Unless stated otherwise, all the files submitted to this web site are copyright and the property of the respective contributor. You are welcome to use them for your own personal non-commercial purposes, and in your messages on this web site. If you want to publish any of this material elsewhere or use it commercially, you must first obtain the owner's permission to do so. |