World: r3wp
[View] discuss view related issues
older newer | first last |
Maxim 11-Dec-2009 [9316] | (and scale all the graphics involved in your face) |
amacleod 11-Dec-2009 [9317] | use 'draw' to lay it out wll produce better image? |
Maxim 11-Dec-2009 [9318] | the fonts will be anti-aliased (which is what I meant to say above)... but in any case, the resolution you use on your printer is always much higher than you screen resolution. |
amacleod 11-Dec-2009 [9319x3] | How far did Henrik get with his vid to pdf dialect? My layout is all text except for one small b/w image... |
Maxim, so to display a proper page I would need to increase the sacel of my vid image quite a bit...larger than screen? | |
sacel = scale | |
Maxim 11-Dec-2009 [9322x6] | so if you are creating images for printout, you have to think larger faces with larger font sizes... screen dpi is typically between 72-100 dpi, printers now usually printout at around 600 dpi.... so if you want to have clean images, they should be around 5 to 10 times larger. |
yep. | |
when I was doing an art project, I had to create a printout for a 36 inch wide image... the file was an 508 mb, 300 dpi image. | |
normal printing, uses vectorial information, so the convertion from shapes to points (rasterization) is done directly at print time. | |
using anti-aliased images you can lower the resolution without it looking too bad... cause the edge will gray out instead of being jagged blocks. but they will look fuzzy instead. | |
for printing from REBOL, the best thing is to use one of the variations of the PDF dialects out there and printing that out. there are a few guys around here who have some experience doing this. | |
amacleod 11-Dec-2009 [9328] | I was using a print method calling MS image viewer transparently to print without opening up but I as adivised to keep my image at 612x792 to keep it on one page...how do increase 5x now? |
Maxim 11-Dec-2009 [9329x2] | you need to set the dpi of the printout to a higher value. I don't know about that solution, but either it supports the dpi value of the input image, when it has one, or you should be able to set it directly. 612 / 72 = 8.5 ;-) so your values are standard video dpis |
photoshop allows you to change the meta information about dpi without resizing the image... I don't know if there are little tools which you can run command-line that will do it too. | |
amacleod 11-Dec-2009 [9331x2] | I played around with it... AGG looks great on screen but prints fuzzy like you said... Increasing resolution looks sharp on printout... I do not know if I should spend time playing with scaling or just biting the bullet and converting output to HTML or pdf ...I had planned on it anyway but as usual what I thought would be a quick one or two day project turns into a week to make it "right"... But always an opportunity to learn new stuff! |
Thanks for the help Maxim. | |
Maxim 11-Dec-2009 [9333x2] | the pdf conversion should actually be pretty easy. look it up. pdf maker supports images, vector art... and its a dialect IIRC so it should be a big thing to go from your view layout to this other dialect. |
with R3, someone is bound to make a client for the windows printing engine :-) | |
Henrik 11-Dec-2009 [9335x6] | amacleod, it's VID to PS and it works fairly OK. I've used it for printing some statistics tables. |
http://rebol.hmkdesign.dk/files/to-postscript.r | |
Oops, View, not VID. It only depends on faces, not the VID dialect. | |
also it doesn't output postscript directly, but dialect words for Geomol's postscript.r dialect. | |
doesn't support bitmaps yet (have only used it for printing text), but you use it like to-image. | |
http://rebol.hmkdesign.dk/files/vid-postscript2.png | |
Graham 13-Dec-2009 [9341x3] | Is this a VID bug?? >> view layout [ led 20x20 ] >> view layout [ led 20x20 [] ] |
In the first case the led can not be switched using the mouse, but by adding the action block it can ! | |
Hard to say it's a bug because there never was any documentation on the LED face | |
amacleod 13-Dec-2009 [9344] | RE: printing vid faces by converting them to images for document printing... I found that a multiplier of 3 is sufficient for good quality text...maybe 5x for super quality |
Gregg 13-Dec-2009 [9345] | I'd say it's a bug Graham. |
Graham 13-Dec-2009 [9346x2] | That means we can now write the documentation :) |
what's the current bug tracker for R2 ? | |
Gregg 13-Dec-2009 [9348] | Still RAMBO AFAIK. Unless they've moved things to CureCode. |
Graham 13-Dec-2009 [9349x2] | hard to find stuff on rebol.net now .... |
ok, submitted | |
Henrik 14-Dec-2009 [9351] | graham, might as well add it to my tracker too. |
Graham 14-Dec-2009 [9352] | should ask Carl for a copy of the VID related bug reports so that you can fix them in vidext :) |
Henrik 14-Dec-2009 [9353] | that would be cool |
Graham 16-Dec-2009 [9354] | How do you force a window to the front? setting the activate flag and show doesn't seem to work |
Graham 17-Dec-2009 [9355] | Anyway to set the Z order of windows once they are already up? |
Henrik 17-Dec-2009 [9356] | by forcing it to front, do you mean modal or just moving any window to front? (The kit has a simple function for the last bit) |
Graham 17-Dec-2009 [9357x2] | Any window ... |
What I want to do is keep a separate menu window open so that no matter what other windows are open, the menu window stays on top. | |
Luis 17-Dec-2009 [9359] | top-most example: http://pastebin.ca/1718241 |
Gregg 17-Dec-2009 [9360x2] | I use the Windows API to do it Graham, but I don't have a cross-platform solution. |
Inside a view window, you can remove the face from the pane and append it again, so it's a the top of the z-order. I can't remember trying that with screen-face though. | |
Graham 17-Dec-2009 [9362] | Thanks I'll give it a go. |
Nicolas 20-Dec-2009 [9363] | I want to make a program that zooms in on a picture while I hold down the left mouse button and that zooms out when I hold down the right mouse button. Any ideas? |
Henrik 20-Dec-2009 [9364] | detect on mouse down and stop zooming on mouse up |
Nicolas 20-Dec-2009 [9365] | Thanks Henrik |
older newer | first last |