|
|
|
|
|
Dotnet Graphic Toolbox
|
Do you have images that need to be Resized or Rotated - Inexpensively, and
Quickly?
Are you using Microsoft .NET?
We're here for You.
Working with images in .NET can be a pain, especially when the
image files you have are the wrong size.
Many times, you may be faced with original image files that are too
large for the amount of space you are looking for them to take up on a
webpage, especially files from digital camera, or high quality
originals.
Or, you may have images which need to be rotated to be viewed
properly.
This is where Dotnet Graphic Toolbox comes in. We are your best choice for
easily, and affordably, resizing images to a high quality smaller size, which can fit within a
specified space, or to rotate your images.
Click the button below to download a free trial of Dotnet Graphic Toolbox.
Do you have large images which need to fit into a predefined space? Want an easy way to get it taken care of?
We're here for you.
For instance, say you have an original image file with a width of
1200 pixels wide by 800 pixels tall, but, need the image to fit in a
space no larger than 300 pixels wide by 200 pixels tall? We are here to
help you with that. Simply give our component your original file as a
parameter, as well as with the maximum image size you are looking for,
in this case, 300 pixels by 200 pixels, and then we give you an image
which fits within that maximum size.
What if I might not like the component? That's easy. Simply download our
component and try it for free. It is set to work on images and output,
without a watermark, images to a maximum size of 200 pixels by 200 pixels. If you like it, then, come back to us and buy a license to
either a Basic or Pro version license code to unlock the bought
type's features.
How we do it: Dotnet Graphic Toolbox is a DotNet
Framework 2.0 component DLL. It is compatible with .NET projects using .NET
Frameworks 2.0 and higher. So, if you are using .NET Framework version 2.0 or
higher, this component will work with your code. You simply add a reference in
your project to our component, write your code, and you are all ready to start
resizing images.
Have a question?
Feel free to contact us at:
support@c-solutions-inc.com.
|
|
After you buy a license, the registration code will be sent to you.
In your code, simply put in the registration code where we have
'DEMO' in the examples, below.
|
|
|
Client Testimonials
Here's what just one of our happy customers has
to say about DotNet Graphic Toolbox:
This Dotnet Graphic Toolbox has literally saved
me time and money. To be completely honest, I
have spent the past two months searching for a
simple tool that could resize all my pictures
and post them to any destination that I chose.
And at the same time, giving me the capability
of controlling other aspects like the width and
height. After trying this tool, I was hooked!
The search was finally over!
This tool was very simple and easy to implement
in my own code and delivered remarkable results.
I was amazed with this tool.
The gentleman from tech support who promptly
answered all my questions was Chris Conley. He
is what I call a true “Professional." He
listened and was very patient and polite. Just
from our initial contact, I knew that he was
very knowledgeable in this field. I could not
have been any more impressed with his impeccable
service.
Thank you Chris and thank you C Solutions, Inc
for developing such an amazing tool.
Earl Reese, Miami, FL
|
|
|
|
|
|
|
Features List |
| VERSION |
FEATURE |
| Free |
* Resize an image to a maximum width of 200 pixels
and height of 200 pixels. |
|
* When given an image filename as a
parameter, return the width and height of the selected
image file.
Uses:
* When you have an image and don't know it's width
and height, you can easily find them out,
programmatically.
* The ability to resize images to a maximum size of 200
pixels wide by 200 pixels tall. Or, resize images to a
different size, but, have a watermark applied to the
images. The watermark can be removed by purchasing a
Basic or Pro license, and adding into the code the
registration code for the version purchased. |
|
|
|
Basic - U.S. $50.00
(All Free Features, plus:)
Buy Basic Version Now
|
* The ability to resize an image to a
smaller width and height of your choice. The output is
saved to a file.
Uses: This gives you the ability to
take an image file and make a resized, smaller copy, and
save it to a filename, of your choice.
|
* The ability to rotate an image 90
degrees clockwise, 90 degrees counter clockwise, and 180
degrees, with an input as an image file and an output as
a JPEG image file.
Uses:You might have image files which
need to be rotated. With a few lines of code you can
rotate these image files and output them to image files. |
|
|
|
Pro - U.S. $85.00
(All Basic Features, plus:)
Buy Pro Version Now
|
* The ability to resize an image to a
smaller width and height of your choice. The output is
saved to a byte array. Additionally, the input data
comes from a byte array.
Uses: This is ideal for instances where
you are reading data from a file upload control and need
to make resized image files, from source data which is a
byte array.
|
| * The ability to rotate an image 90
degrees clockwise, 90 degrees counter clockwise, and 180
degrees, with an input as an image file and an output as
a JPEG image as a binary array. |
Uses: If you have an
image file and, need it rotated, and want to save it to
a database, this could the the solution for you.
|
| * Additionally, you can take an image as
a binary array, rotate it, and save it to either a file
or a binary array. |
| Uses: You may have an
image in a binary array, say from an uploaded image from
a FileUploader control. You could take this image,
rotate it, then have the option to save the output to
either a file or another binary array. |
|
|
|
| Notes |
When resizing images, they are resized to a maximum
image size given, as a parameter, while preserving the
original file's aspect ratio.
What this means is, if you have an image of 800 pixels
wide by 600 pixels high, and you requested a resized
image of 400 pixels wide by 350 high, the image
will be resized to 400 pixels wide by 300 pixels tall,
thereby preserving the original image's aspect ratio.
* If you work with our DLL in a development environment,
it should have no problem creating the output files.
But, if you try and deploy it to do the actual
file resizing on a production
web server running IIS, you are probably going to run
into server file permission write issues. If
you are using IIS as your production web server, which,
I expect most of you are, you will need to give
the server write permissions to the "Network Service
Account", and, this should take care of the problem. |
|
|
|
|
Click the button below to download a free trial of Dotnet Graphic Toolbox.
|
|
|
DotNet Graphic Toolbox
Sample Code
|
FREE Features
Want to know the dimensions, width and height, of an image?
VB.NET Code:
'You need to add a reference to the DLL at 'CSolutions.clsDotnetGraphicToolbox'
for the below code to work. Of course, you must install the DLL on your system,
as well.
Dim cDGT As New CSolutions.clsDotnetGraphicToolbox("DEMO")
Dim sFileName As String = Server.MapPath("images/Sea-Sample.jpg")
' NOTE YOU NEED TO ADD A REFERENCE TO 'System.Drawing' FOR THE BELOW LINE TO WORK
Dim sze As System.Drawing.Size = cDGT.SizeGetImageDimensions(sFileName)
Dim sMsg As String = "Original image width: " + sze.Width.ToString() + ", height: " + sze.Height.ToString()
litOriginalImageDimensions.Text = sMsg
C# Code:
//You need to add a reference to the DLL at 'CSolutions.clsDotnetGraphicToolbox'
for the below code to work. Of course, you must install the DLL on your system,
as well.
CSolutions.clsDotnetGraphicToolbox cDGT = new CSolutions.clsDotnetGraphicToolbox("DEMO");
string sFileName = Server.MapPath("images/Sea-Sample.jpg");
System.Drawing.Size sze = cDGT.SizeGetImageDimensions(sFileName);
string sMsg = "Original image width: " + sze.Width.ToString() + ", height: " + sze.Height.ToString();
litOriginalImageDimensions.Text = sMsg;
Click the button
below to find out the dimensions of the 'original/full size' image below, using the Dotnet Graphic Toolbox control.
|
Want to try it out on your own? Get the demo
here.
|
After you buy a license, the registration code will be sent to you.
In your code, simply put in the registration code where we have
'DEMO' in the examples, below.
|
|
|
|
BASIC Level Features |
PRO Level Features |
.NET IMAGE
|
RESIZING
|
Resize an image when given the image file, and a maximum image size to
resize to.
|
Resize an image when given the image file as a byte array, and a
maximum image size to resize to.
|
|
|
|
VB.NET Code
'You need to add a reference to the DLL at 'CSolutions.clsDotnetGraphicToolbox'
for the below code to work. Of course, you must install the DLL on your system,
as well.
Dim cDGT As New CSolutions.clsDotnetGraphicToolbox("DEMO")
Dim sFileName As String = Server.MapPath ("images/Sea-Sample.jpg")
Dim sOutputURL As String = "images/Output.jpg"
Dim sOutputfileName As String = Server.MapPath (sOutputURL)
cDGT.CreateResizedImageAndSaveAsJPEG(sFileName, sOutputfileName, 200, 200)
imgResized.ImageUrl = sOutputURL
imgResized.Visible = true
C# Code
'You need to add a reference to the DLL at 'CSolutions.clsDotnetGraphicToolbox'
for the below code to work. Of course, you must install the DLL on your system,
as well.
CSolutions.clsDotnetGraphicToolbox cDGT = new CSolutions.clsDotnetGraphicToolbox("DEMO");
string sFileName = Server.MapPath ("images/Sea-Sample.jpg");
string sOutputURL = "images/Output.jpg";
string sOutputfileName = Server.MapPath (sOutputURL);
cDGT.CreateResizedImageAndSaveAsJPEG(sFileName, sOutputfileName, 200, 200);
imgResized.ImageUrl = sOutputURL;
imgResized.Visible = true;
|
VB.NET Code
'You need to add a reference to the DLL at 'CSolutions.clsDotnetGraphicToolbox'
for the below code to work. Of course, you must install the DLL on your system,
as well.
Dim cDGT As New CSolutions.clsDotnetGraphicToolbox("DEMO")
Dim sFileName As String = Server.MapPath ("images/Sea-Sample.jpg")
Dim sOutputURL As String = "images/Output-ba.jpg"
Dim sOutputfileName As String = Server.MapPath (sOutputURL)
Dim baImageFile As
byte() = System.IO.File.ReadAllBytes(sFileName)
cDGT.CreateResizedImageAndSaveAsJPEG(baImageFile, sOutputfileName,
200, 200)
imgResized_ByteArray.ImageUrl = sOutputURL
imgResized_ByteArray.Visible = true
C# Code
//You need to add a reference to the DLL at 'CSolutions.clsDotnetGraphicToolbox'
for the below code to work. Of course, you must install the DLL on your system,
as well.
CSolutions.clsDotnetGraphicToolbox cDGT = new CSolutions.clsDotnetGraphicToolbox("DEMO");
string sFileName = Server.MapPath("images/Sea-Sample.jpg");
string sOutputURL = "images/Output-ba.jpg";
string sOutputfileName = Server.MapPath(sOutputURL);
byte[] baImageFile = System.IO.File.ReadAllBytes(sFileName);
cDGT.CreateResizedImageAndSaveAsJPEG(baImageFile, sOutputfileName, 200, 200);
imgResized_ByteArray.ImageUrl = sOutputURL;
imgResized_ByteArray.Visible = true;
|
Click the 'Submit' button below to resize the Original image
below and show it in an image control just below the 'Submit'
button.
|
Click the 'Submit' button below to resize the original image below.
Note. You can't see it, but, this button uses the code where the input is a byte
array. This can be the input if you got the details of an image from an ASP.NET
file Upload control, or another like it.
|
|
|
.NET IMAGE
|
ROTATION
|
Rotate an image file 90 Degrees Clockwise, 90 Degrees
Counter Clockwise, or by 180 Degrees and save to a new file.
Go to our Image Rotate
page for sample code |
Rotate an image file 90 Degrees Clockwise, 90 Degrees
Counter Clockwise, or by 180 Degrees and save to a binary array.
Go to our Image Rotate
page for sample code |
|
|
|
|
|
Rotate an image from a binary array 90 Degrees Clockwise, 90
Degrees Counter Clockwise, or by 180 Degrees and save to a binary
array, or to a file.
Go to our Image Rotate
page for sample code
|
|
|
|
Click the button below to download a free trial of Dotnet Graphic Toolbox.
Original Image:
|
|
|
|
|