|
|
 |
|
|
|
|
BIP Overview
The Batch Image Processor is a powerful tool that enables developers
to resize batches of images on a server from any asp.net page. It
is simple to implement, has a customizable interface and works
with a wide variety of formats. It is a useful addition to any
developers toolbox, and a time saving control for the admin section
of any website.
The Batch Image Processor Beta is a free ASP.Net drag and drop web
control. It enables the resizing and reformatting of folders of
images on any web server from any asp.net page.
Users can resize individual images or folder of images to any dimension and can
output their images to all widely known formats.
The beta version contains a fully featured file copier and
resizer with no limitations, which will copy or resize selected images
to any target folder.
The beta version comes with a sample stylesheet. Developers can
completely customize the color scheme of the BIP to ensure the control
will fit in with any interface style.
The beta is completely FREE with no trial period, it comes with the
limitation that it will mark each resized image faintly with our own
branding. This will be removed in the retail version, which we will
be available for purchase from June 2005.
We appreciate user feedback on any bugs, improvements or additional feature
suggestions for the BIP.
* Export Technologies do not send unsolicited mail
or forward information to any 3rd parties.
|
|
System Requirements
-
Windows Operating System with .Net Framework installed
-
JavaScript enabled browser recommended
|
|
Features
-
Easy to add into ASP.Net pages - paste one line of code, or add use
drag-and-drop using Visual Studio
-
Customize BIPs appearance - personalize the control in whatever way you
see fit
-
Process a variety of image formats - including Jpeg, Gif, Png and Windows
Bitmaps
-
Several resizing options - keep the aspect ratio of an image, distort it beyond
recognition, the choice is yours
-
Multiple instances of the control work on any ASP.Net page
|
|
Batch Image Processor Beta
ScreenShots
|
|
User Information
On setting the initial properties of the BIP when the containing page
loads, you can then almost immediately process the images. All the
remains to be done is to select your resizing method and parameters. You
can change the output format and quality and other file
options if you need to, however the defaults there can be used to good
effect. After that you are one click on the Create
Images from creating your new images.
|
|
Technical Information
In ASP.Net pages these exposed public properties can set in the
BIP:
|
| Required Properties |
Datatype |
Description |
| SelectedImages |
object |
The BIP's representation of the images selected for processing/copying.
It can accept the following types of object: string, FileInfo[] and
DirectoryInfo
The string must be a list of fully qualified physical paths, separated by
SelectedImagesSeparator.
The FileInfo[] object will contain FileInfo objects relating to each file you
wish to process
The DirectoryInfo object will process all supported image files within the
directory represented by this object.
Any other object passed to this property will result in an ArgumentException
being thrown
Getting this property will return the separated string
|
| SaveImageFolder
|
string |
The BIP's representation of the target directory for processed/copied images.
It can accept the following types of object: string and DirectoryInfo
The string must be a fully qualified physical path on the server
The DirectoryInfo object will select the directory represented by the object as
the target for new images.
Any other object passed to this property will result in an ArgumentException
being thrown
Getting this property will return the string representation of the paths
|
|
|
|
| ReadOnly Public Properties
|
Datatype |
Description |
| SelectedImageSeparator |
char |
The character used to separate paths in the SelectedImages property |
| Width |
Unit |
Width of the BIP
|
| Height |
Unit |
Height of the BIP
|
|
|
|
| Style Properties |
DataType |
Description |
| ...StyleClass
|
string |
Each part of the BIP has an associated style variable. In a custom
style sheet you have created, say you have set a class called tableborder, and
you wish to assign this style to the main table of BIP. You simply
set the MainTableStyleClass property to "tableborder", and your style is used
in the BIP |
| |
|
Style Class Properties:
MainTableStyleClass - Styles the main table of the BIP
SectionHeaderStyleClass - Styles the section headers of the
BIP
ContainerCellStyleClass - Styles each main cell in the BIP
ErrorCellStyleClass - Styles how the error cell will appear,
if any errors occur
OptionsTableStyleClass - Styles the tables in the BIP
containing options
HighlightedOptionCellStyleClass - Styles any highlighted cell
within an Option Table
NormalOptionCellStyleClass - Styles any other cell in an
Option Table
LightControlStyleClass - Styles all the lightcontrols on the
BIP
DarkControlStyleClass - Styles all the darker controls on the
BIP
ButtonStyleClass - Styles the BIP's buttons
|
|
|
Setup Guidelines
The concepts in getting the BIP component to work on your website are easy
to understand for any ASP.Net programmer.
-
Download the files at the top of this page, set up an IIS virtual directory on
your local machine. e.g., set up a directory in IIS called "BIP" (or some other
suitable name).
-
Unzip all the folders from the Zip file into the virtual directory (or FTP to
your server after unzipping). Ensure you copy all of the folders over as they
contain other files and images used in the BIP. The dll in the bin
directory should be in the TOP directory of any application. If it is not then
make sure you paste the dlls into the correct directory.
-
Open up the sample page in the directory you set up to contain the BIP e.g.
http://localhost/BIP/BipTest.aspx
-
Incorporate the same ideas in ASP.Net applications.
|
|
Sample Code: How to use the BIP in your site
BIP quick start
1. Within the downloaded zip file you will find a bin and BIP_Resources
directories. From the bin directory remove the BIP.dll file and add this to the
bin directory of your project. Also add the BIP_Resources directory to your
project.
2. Add the following directive at the top of the page you want the BIP to
appear in
<%@ Register TagPrefix="ExportTechnologies" Namespace=
"ExportTechnologies.WebControls.BIP" Assembly=
"ExportTechnologies.WebControls.BIP" %>
3. Add the following line to the place in the page where you want the BIP
to appear
<ExportTechnologies:BIP ID="BIP1" runat="server"/>
Working with the BIP's properties
The BIP has many properties which can be set during design time. Two of
these properties must be set on the loading of the page containing the control
SelectedImages - as detailed above you must set this property so that the BIP
has images to process
SaveImageFolder - set this property per the above instructions to give the BIP a
target folder for the newly created / copied images
After setting these properties, only the target folder may be changed, by
typing a new physical path into the text box provided. The selected images,
once set, cannot be changed at the moment. We have steered clear of
implementing a browser for files on the server as we feel that the majority of
people will have their own methods of obtaining files or directories. If an
additional directory control would be useful, please let us know via the
feedback form above.
Via the user interface you specify all other available options for the BIP, and
on clicking the Create Images button, the BIP takes care of the rest.
|
This page will be updated with support and new releases of
the product, all suggestions and emails are welcome to make the set up process
as easy as possible.
Support@exporttechnologies.com
|
|
|
|
|