Rank: Advanced Member
Groups: Guest
Joined: 3/3/2008(UTC) Posts: 185
Thanks: 8 times
|
Hi,
We do have some text object in Multilayer viewer, and with some background photo. Whent he design is done, we tried to save the renderworkspace into a JPG file. But, we found that, the text is a bit not clear and "smooth", some of the small text even turn into "dots" and not line. May I know is there anyway that we can keep the text sharpness?
We already export the JPG in 300dpi and 10 quality.
Please advice.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 6/22/2008(UTC) Posts: 27
|
I'm doing the same thing. I only see softness in text on some fonts and it does depend on how big the print area is.
Is it all fonts or specific fonts? How big is the area you are printing? How are you viewing the output?
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 1/31/2005(UTC) Posts: 458
Was thanked: 5 time(s) in 5 post(s)
|
Hi,
Please, could you provide us with code sample and screenshots? Something like: "I use this code and get such picture, but I want something like this one".
|
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 3/3/2008(UTC) Posts: 185
Thanks: 8 times
|
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 1/31/2005(UTC) Posts: 458
Was thanked: 5 time(s) in 5 post(s)
|
Hi,
Wow, pretty font ;) Could you send us code which renders the image and font? I'll try to experiment with them.
|
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 3/3/2008(UTC) Posts: 185
Thanks: 8 times
|
Sure... Here is the code to add the text to MLV Code:
3: _mlvMain.CurrentLayerIndex = Layer_Design
4: _mlvMain.CurrentDesigner = New Aurigma.GraphicsMill.WinControls.TextVObjectCreateDesigner
5: DirectCast(_mlvMain.CurrentDesigner, Aurigma.GraphicsMill.WinControls.TextVObjectCreateDesigner).Font = frmMain.gpdProjectData.ProjectFont
6: DirectCast(_mlvMain.CurrentDesigner, Aurigma.GraphicsMill.WinControls.TextVObjectCreateDesigner).Text = "Double Click to Edit"
7: DirectCast(_mlvMain.CurrentDesigner, Aurigma.GraphicsMill.WinControls.TextVObjectCreateDesigner).Format.Alignment = frmMain.gpdProjectData.ProjectFontAlign
8: DirectCast(_mlvMain.CurrentDesigner, Aurigma.GraphicsMill.WinControls.TextVObjectCreateDesigner).Format.LineAlignment = frmMain.gpdProjectData.ProjectFontLineAlign
9: Dim brush As System.Drawing.SolidBrush = New System.Drawing.SolidBrush(frmMain.gpdProjectData.ProjectFontColor)
10: DirectCast(_mlvMain.CurrentDesigner, Aurigma.GraphicsMill.WinControls.TextVObjectCreateDesigner).Brush = brush
And here is the code to render them into JPG Code:
_mlvMain.RenderWorkspace(Press_DPI_High).Save("C:\Output.jpg", New Aurigma.GraphicsMill.Codecs.JpegEncoderOptions(iJPGQuality, True))
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 3/9/2008(UTC) Posts: 554
Was thanked: 1 time(s) in 1 post(s)
|
Hi Ching-Yen, We tried to investigate your problem. Could you please send us the values of these variables (from the code above): Press_DPI_High = ? iJPGQuality = ? _mlvMain.WorkspaceWidth = ? (in points) _mlvMain.WorkspaceHeight = ? (in points) It would be very helpful for us. Edited by user Monday, May 4, 2009 2:17:17 PM(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 3/3/2008(UTC) Posts: 185
Thanks: 8 times
|
Hi, Press_DPI_High = 300 iJPGQuality = 10 While _mlvMain.WorkspaceWidth & _mlvMain.WorkspaceHeight is not fix...For the given sample, it is 11" x 8.5" p/s: we use frmMain._DesignDock._mlvMain.Unit = Aurigma.GraphicsMill.Unit.Inch Please advice. Thanks. Tamila wrote:Hi Ching-Yen,
We tried to investigate your problem. Could you please send us the values of these variables (from the code above):
Press_DPI_High = ? iJPGQuality = ? _mlvMain.WorkspaceWidth = ? (in points) _mlvMain.WorkspaceHeight = ? (in points)
It would be very helpful for us.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 3/9/2008(UTC) Posts: 554
Was thanked: 1 time(s) in 1 post(s)
|
Ching-Yen,
Thank you for information, it is very helpful for us. Our developers will check it as soon as possible.
|
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 3/3/2008(UTC) Posts: 185
Thanks: 8 times
|
Tamila wrote:Ching-Yen,
Thank you for information, it is very helpful for us. Our developers will check it as soon as possible.
Hi, just would like to check any luck on this?
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 8/3/2003(UTC) Posts: 1,070
Thanks: 1 times Was thanked: 12 time(s) in 12 post(s)
|
Hello, We spent some time playing with text in Vector Objects. Unfortunately it is not clear what is the matter of problem. We tried to output text with different font sizes and different DPIs. It looks okay. If you have a complete application allowing to reproduce this problem, it would be great if you provide us with it along with a font used to output text strings. It is quite pure quality. Did you try to increase it? Edited by user Tuesday, June 9, 2009 4:36:48 PM(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 3/3/2008(UTC) Posts: 185
Thanks: 8 times
|
Dmitry wrote:Hello, We spent some time playing with text in Vector Objects. Unfortunately it is not clear what is the matter of problem. We tried to output text with different font sizes and different DPIs. It looks okay. If you have a complete application allowing to reproduce this problem, it would be great if you provide us with it along with a font used to output text strings. It is quite pure quality. Did you try to increase it? the JPG quality is always set to 10, and I think it is the highest we can go, rite?
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 8/3/2003(UTC) Posts: 1,070
Thanks: 1 times Was thanked: 12 time(s) in 12 post(s)
|
Maximum Jpeg quality is 100. |
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 3/3/2008(UTC) Posts: 185
Thanks: 8 times
|
Dmitry wrote:Maximum Jpeg quality is 100. Hi sorry, my bad. I was mean 100....
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.