|
|
|
Changing Font mid line
Replies (2) 16 January 2006
Hi, there. I was wondering if anyone has any ideas about how to change
fonts. I'd like to display text such as the following (pretend you
understand html)
Mary had a little lamb.
Here are th...
|
|
|
|
how to get the histogram of a specified region in ...
Replies (1) 15 January 2006
the fuction works like this:
void getHistogram(IN Bitmap &bitmap, IN Region ®ion, IN int
colorChannel ,OUT int *histogram )
where colorChannel could be R or G or B
which functions in gdi...
|
|
|
|
Printint
Replies (1) 14 January 2006
I'm trying to print a image with PrintDocument Class, i create the
eventHandler of printpage and draw bitmap with the Graphics object, but my
problem is the next. I have a 300ppp jpg image and i w...
|
|
|
|
error selecting GiF animation for Picturebox Image ...
Replies (1) 13 January 2006
I have a gif animation file prepared in ImageReady that plays fine in IE6
and ACDSee8.
When I try to select it as the 'Image property of a PictureBox, using the
Import / Local facility off the ...
|
|
|
|
new Bitmap(string) permanently locks file... but n ...
Replies (1) 13 January 2006
hi,
i'm having problems with the Bitmap construtor. The documentation states
that when i create new Bitmap object from a file the the file gets
locked until bitmap is disposed. I've been trying t...
|
|
|
|
Component for the fastest creation of multipage ti ...
Replies (1) 13 January 2006
Hi,
I'm looking to speed up my programs that combine tiffs. I'm currently
using Informatik's TiffDLL50 ActiveX component which works great but
I'm investigating alternatives that might be faste...
|
|
|
|
Why so much trouble with ellipses?
Replies (1) 13 January 2006
In a recent post of mine I mentioned the inaccurate shapes drawn by
FillEllipse. In the response that I recieved I was told that DrawArc had
less problems, which I found to be true (I have been us...
|
|
|
|
Is Transparency Mask Possible?
Replies (1) 13 January 2006
Hello,
Have been trying to figure out if there is any way in .NET to draw a
GDI+ image using a transparency mask.
For example, say I have a normal Bitmap 800x600 of a person walking on
the bea...
|
|
|
|
ImageMagick -> Image
Replies (1) 12 January 2006
Hi,
this is probably not the correct group but...
Whats the most efficient way of converting a Magick::Image
(www.imagemagick.org/Magick++) to a System::Drawing::Image.
My best solution so...
|
|
|
|
Get color depth of an icon
Replies (1) 12 January 2006
Hi
does anyone know how to get the color depth of an icon ?
I tried converting it to a bitmap (Icon.ToBitmap().PixelFormat) but it
always gives 32 bpp ARGB, even if I loaded it from an Ico file...
|
|
|
|
GDI Error
Replies (1) 12 January 2006
Can someone tell me why I'm getting the error:
System.Runtime.InteropServices.ExternalException: A generic error occurred
in GDI+.
I'm getting the error on the line that does the Save (last line...
|
|
|
|
Get Hex value from System.Drawing.Color Name
Replies (1) 12 January 2006
Can somone enlighten me? How do I get the hex value from a named color?
I want to print it into a table:
using System.Reflection;
Type type = typeof(System.Drawing.Color);
Prop...
|
|
|
|
Graphics Rotate Transform
Replies (1) 12 January 2006
I think what I want to do should be relatively easy, but I can't seem
to come up with the proper values.
1. Take an image and resize to a specific W and H
2. I want to rotate the image 10 degrees...
|
|
|
|
PixelFormat.Format8bppIndexed in Bitmap Hangs!
Replies (1) 12 January 2006
Hello,
I'm trying to convert Images using Bitmap class. I want to use
different options for example reduce the size of image.
In my code I tried to create a Bitmap class instance with a Bi...
|
|
|
|
PrivateFontCollections and PrintPreview controls
Replies (1) 11 January 2006
I am having a heck of a time getting a Printing.PrintDocument and a print
preview control to use fonts in a private font collection. I've got a simple
form that contains a textbox (for the TTF fil...
|
|
|
|
GDI+ is not pixel perfect
Replies (2) 11 January 2006
Hi,
A simple test, override the OnPaint method of a form
protected override void OnPaint(PaintEventArgs e) {
base.OnPaint(e);
e.Graphics.DrawLine(new Pen(Color.Black), 10, 10, 15, 10);
...
|
|
|
|
Dpi problem
Replies (1) 10 January 2006
I'm porting a MacOSX application to Windows.
On windows I'm mainly using .NET (and a bit of GNUstep as well).
Anyway this application has a lot of image resource.
Whenever I display this picture ...
|
|
|
|
Including HTML When Outputing a Dynamically Drawn ...
Replies (1) 10 January 2006
I have a web page that's taking in data from text boxes, drawing a
chart to represent the data, and then outputting the chart in PNG
format. What I cant figure out how to do, is to output the chart...
|
|
|
|
storing an image?
Replies (1) 10 January 2006
I have a windows application that uses a few "base" images. I call them base
images because my code only loads these images up once, and during the course
of user interaction, create new images (...
|
|
|
|
Scrolling OwnerDrawn Controls
Replies (2) 9 January 2006
Hi,
I have an issue I've been battling with for a few weeks. I've tried to
describe it in as much (relevant) detail as possible.
I'd be grateful for any help!
I have a control which has the...
|
|
|
|
Drawstring padding rendered text
Replies (1) 8 January 2006
Hello
This is probably not the most exciting saturday night topic, but still
needs attention. On a project I'm working on I need to create a custom
control for presenting textual information. S...
|
|
|
|
comic de San Juan.
Replies (1) 7 January 2006
comic de San Juan.
http://www.teneyi.net/cici/comic/juan_comics/juan1.htm...
|
|
|
|
Working with Region
Replies (1) 6 January 2006
Hello everyone,
I am working on a project with our marketing department. the app is
basicly a kiosk. we want to to change the look and feel of it at their whim.
So I have written the app and ...
|
|
|
|
Drawing Text onto Image
Replies (2) 5 January 2006
Hello All,
I am having problems maintaining image quality when drawing text onto an
image.
I have a reasonable good quality GIF file with a transparent background.
Whenever I write text onto...
|
|
|
|
Print in Landscape mode
Replies (1) 5 January 2006
Hi,
I want to print in Landscape format from an aspx page (when ever the
user chooses print from the browser or a print button on the form).
I load aspx controls dynamically on the page. I used the...
|
|
|
|
A newbie problem with gdiplus.h...
Replies (1) 5 January 2006
Could anybody kindly point to a reason of my problem :
I started a new Win32 application in the VS 2005 C++ with precompiled
headers. This is my stdafx.h =>
****************
#pragma once
#i...
|
|
|
|
PNG and New FileStream() No Longer Works in .Net ...
Replies (2) 3 January 2006
I'm guessing this is a fairly simple issue but unfortunately I'm not
seeing the answer. When using GDI+ to output a PNG, a filestream is
required, such as:
Dim myFileStream As New FileStrea...
|
|
|
|
PrivateFontCollection Problem
Replies (1) 3 January 2006
Hi Bob Powell,
I have a question about loading fonts into the PrivateFontCollection.
I've implemented the sample code you've got on GDI+ FAQ article about the
subject (and many thanks for that...
|
|
|
|
Newbie: How to write a string
Replies (2) 3 January 2006
hi! Here I am again...
I am doing some experiments with graphics and have some problem. I want
to write a string directly on a picture box. Each time the user press a
key a new letter is added. I...
|
|
|
|
JPEG To Transparent PNG
Replies (1) 3 January 2006
Hello,
How do I convert a Jpeg/bmp/gif to transparent PNG using GDI+ all in
memory.
I really do not want to save to hard disk at all.
Any code in C# or B# = VB.NET
Thanks for any help, li...
|
|
|
|
Text Length
Replies (1) 3 January 2006
Hi,
How can I set text length when printing using C#. in msdn it shows how
to get no of line.
float linesPerPage = e.MarginBounds.Height /
printFont.GetHeight(e.Graphics);
Thanks...
|