News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

A Bitmap Editor

Started by Darrel, July 13, 2006, 11:58:50 AM

Previous topic - Next topic

Darrel

A list of features for the bitmap editor:

        Write Bitmap - *.bmp (1-bpp,4-bpp,8-bpp,24-bpp)
        Write Icon - *.ico (1-bpp,4-bpp,8-bpp,24-bpp,multiple image icon)
        Write Cursor - *.cur (1-bpp,4-bpp,8-bpp,24-bpp)
        Write Icon Library - *.icl
        Write Animated Cursor - *.ani
        Write JPEG - *.jpg (Baseline sequential and Progressive)
        Write GIF - *.gif (Transparent,Interlaced,and animated)
        Write PNG - *.png (Transparent,Interlaced,and Alpha)
        Write PCX - *.pcx
        Write TIF - *.tif (multiple page tif)
        Read *.ani,*.bmp,*.cur,*.icl,*.ico,*.gif,*.jpg,*.pcx,*.png, and *.tif
        SlideShow
        AntiAliasing
        Blend
        Grid
        Copy
        Paste - toggle transparency
        CopyTo
        PasteFrom
        Zoom (6.25%,12.5%,25%,50%,100%,200%,400%,800%,1600%, and Best Fit)
        Flip horizontal and vertical
        Rotate any angle
        Resize Lanczos 3 filter
        3D Button
        Blinds
        Color Keep
        Edge Detection
        Ellipse
        Emboss
        GreyScale
        Heart
        Hectagon
        Histogram
        Kaleidoscope
        Mirror
        Negative
        Octagon
        Pentagon
        Pixelize
        Scatter
        Sepia
        Sharpen
        Sketch
        Skew
        Smooth
        Solarize
        Swirl
        Taper
        Tile
        Tunnel
        Visions
        Water
        Weave
        Color Adjustments - Brightness, Red-Bightness, Green-Brightness,Blue-Brightness,Contrast,Saturation,Hue,Gamma
        Color Depth
        Color Switch
        Select
        FreeForm Select
        Pick Color
        Fill Color
        Shadow
        HotSpot
        Line
        Dashed Line
        Gradient Line
        Arc
        Ellipse
        Polygon
        Triangle
        Rectangle
        Pentagon
        Hexagon
        Octagon
        Polygon
        Rounded Rectangle
        Egg
        Star
        Hatched Brushes
        Gradient Brushes
        Pie
        Red-Eye Remover
        Text - toggle transparency
        Bezier Curve
        Brushes
        Spray
        Allow user to select background color
        Extract images from multiple image files
        3D
        Minimum Resolution 1024 X 768

To do list:

        Whatever else comes to mind     ::)

The program is attached.

Comments welcome.

Regards,

Darrel

Edit: The transparent color for the .gif and .png files is the top left hand corner pixel. The transparent color for icons and cursors is the current background color on the palette.


[attachment deleted by admin]

KSS

Darrel, good work. I find it very useful!

I can't understand: ABitmapEditor work with 32-bit bitmap without support alpha channel or support it.

And I think that color of free space (without bitmap) must be COLOR_APPWORKSPACE or user can have the way to chose it free.

Darrel

KSS,

Thanks for the encouraging reply.

Quote from: KSS on July 18, 2006, 01:19:20 AM
I can't understand: ABitmapEditor work with 32-bit bitmap without support alpha channel or support it.

Sounds like something useful for me to add.

Quote from: KSS on July 18, 2006, 01:19:20 AM
And I think that color of free space (without bitmap) must be COLOR_APPWORKSPACE or user can have the way to chose it free.

The background color is COLOR_BACKGROUND, which the user has complete control over.

Regards,

Darrel

Vortex

Darrel,

Congratulations, very nice work :U

Mincho Georgiev

Another very usefull tool for my toolbox  :U

Mark Jones

"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

KSS

Darrel,
QuoteThe background color is COLOR_BACKGROUND, which the user has complete control over.
Ok, I am understand. But, please add support for chose what system's color used as background color (If you have time). This is very useful for me.
And (if you want) add support for lang-pack. (I like English, but my native language is more useful for me :bg)

And thank You for your work! Really great! :clap:

Darrel

KSS,

You can go to Display Properties and set the background color. It's the color you choose for your desktop if you have no wallpaper.

Language issues are farther down the road.

Regards,

Darrel

KSS

Darrel,
I known how chanke bgcolor of desktop and I not use bg image.
Every time when I need change color (bitmap-editor free space) I must change windows settings??? :dazzled:

Darrel

As it stands right now, the Registry is not used. If for some reason I have to use the Registry, I'll consider addding the option to set the background color. I may eventually do it anyway.

Regards,

Darrel

Darrel

Updated the features and to do list, along with updated version of program.

Regards,

Darrel

winge

very good work! very usefull   :U

Darrel

#12
Added PNG support. Fixed the bugs in the multiple image file display.

Regards,

Darrel

asmfan

Nice work Darrel! :clap:
Russia is a weird place

Darrel

Thanks,

A few minor adjustments: No longer saves 32-bpp *.bmps. Allow User to select background color.