NAME

bitmap, bmtoa, atobm - bitmap editor and converter utilities for the X Window System

SYNOPSIS

bitmap [ -options ... ] [ filename ] [ basename ]

bmtoa [ -chars ... ] [ filename ]

atobm [ -chars cc ] [ -name variable ] [ -xhot number ] [ -yhot number ] [ filename ]

DESCRIPTION

The _b_i_t_m_a_p program is a rudimentary tool for creating or editing rectangular images made up of 1's and 0's. Bitmaps are used in X for defining clipping regions, cursor shapes, icon shapes, and tile and stipple patterns.

The _b_m_t_o_a and _a_t_o_b_m filters convert _b_i_t_m_a_p files (FILE FORMAT) to and from ASCII strings. They are most commonly used to quickly print out bitmaps and to generate versions for including in text.

COMMAND LINE OPTIONS

_B_i_t_m_a_p supports the standard X Toolkit command line arguments (see _X(1)). The following additional arguments are supported as well.
-size _W_I_D_T_H_x_H_E_I_G_H_T
Specifies size of the grid in squares.
-sw _d_i_m_e_n_s_i_o_n
Specifies the width of squares in pixels.
-sh _d_i_m_e_n_s_i_o_n
Specifies the height of squares in pixels.
-gt _d_i_m_e_n_s_i_o_n
Grid tolerance. If the square dimensions fall below the specified value, grid will be automatically turned off.
-grid, +grid
Turns on or off the grid lines.
-axes, +axes
Turns on or off the major axes.
-dashed, +dashed
Turns on or off dashing for the frame and grid lines.
-stippled, +stippled
Turns on or off stippling of highlighted squares.
-proportional, +proportional_<_/_b_> _<_d_d_> _T_u_r_n_s _p_r_o_p_o_r_t_i_o_n_a_l _m_o_d_e _o_n _o_r _o_f_f_. _I_f _p_r_o_p_o_r_t_i_o_n_a_l _m_o_d_e _i_s _o_n_, _s_q_u_a_r_e _w_i_d_t_h _i_s _e_q_u_a_l _t_o _s_q_u_a_r_e _h_e_i_g_h_t_. _I_f _p_r_o_p_o_r_t_i_o_n_a_l _m_o_d_e _i_s _o_f_f_, _b_i_t_m_a_p _w_i_l_l _u_s_e _t_h_e _s_m_a_l_l_e_r _s_q_u_a_r_e _d_i_m_e_n_s_i_o_n_, _i_f _t_h_e_y _w_e_r_e _i_n_i_t_i_a_l_l_y _d_i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_n _t_h_e _b_a_s_e_n_a_m_e _i_n _t_h_e _w_o_r_k_i_n_g _f_i_l_e_, _b_i_t_m_a_p _w_i_l_l _c_h_a_n_g_e _i_t _w_h_e_n _s_a_v_i_n_g _t_h_e _f_i_l_e_. _<_/_d_l_> _<_p_> _B_m_t_o_a _a_c_c_e_p_t_s _t_h_e _f_o_l_l_o_w_i_n_g _o_p_t_i_o_n_: _<_d_l _c_o_m_p_a_c_t_> _<_d_t_> _<_b_>_-_c_h_a_r_s _c_c_<_/_b_> _<_d_d_> _T_h_i_s _o_p_t_i_o_n _s_p_e_c_i_f_i_e_s _t_h_e _p_a_i_r _o_f _c_h_a_r_a_c_t_e_r_s _t_o _u_s_e _i_n _t_h_e _s_t_r_i_n_g _v_e_r_s_i_o_n _o_f _t_h_e _b_i_t_m_a_p_. _T_h_e _f_i_r_s_t _c_h_a_r_a_c_t_e_r _i_s _u_s_e_d _f_o_r _0 _b_i_t_s _a_n_d _t_h_e _s_e_c_o_n_d _c_h_a_r_a_c_t_e_r _i_s _u_s_e_d _f_o_r _1 _b_i_t_s_. _T_h_e _d_e_f_a_u_l_t _i_s _t_o _u_s_e _d_a_s_h_e_s _(_-_) _f_o_r _0_'_s _a_n_d _s_h_a_r_p _s_i_g_n_s _(_#_) _f_o_r _1_'_s_. _<_/_d_l_> _<_p_> _A_t_o_b_m _a_c_c_e_p_t_s _t_h_e _f_o_l_l_o_w_i_n_g _o_p_t_i_o_n_s_: _<_d_l _c_o_m_p_a_c_t_> _<_d_t_> _<_b_>_-_c_h_a_r_s _c_c_<_/_b_> _<_d_d_> _T_h_i_s _o_p_t_i_o_n _s_p_e_c_i_f_i_e_s _t_h_e _p_a_i_r _o_f _c_h_a_r_a_c_t_e_r_s _t_o _u_s_e _w_h_e_n _c_o_n_v_e_r_t_i_n_g _s_t_r_i_n_g _b_i_t_m_a_p_s _i_n_t_o _a_r_r_a_y_s _o_f _n_u_m_b_e_r_s_. _T_h_e _f_i_r_s_t _c_h_a_r_a_c_t_e_r _r_e_p_r_e_s_e_n_t_s _a _0 _b_i_t _a_n_d _t_h_e _s_e_c_o_n_d _c_h_a_r_a_c_t_e_r _r_e_p_r_e_s_e_n_t_s _a _1 _b_i_t_. _T_h_e _d_e_f_a_u_l_t _i_s _t_o _u_s_e _d_a_s_h_e_s _(_-_) _f_o_r _0_'_s _a_n_d _s_h_a_r_p _s_i_g_n_s _(_#_) _f_o_r _1_'_s_. _<_d_t_> _<_b_>_-_n_a_m_e _v_a_r_i_a_b_l_e_<_/_b_> _<_d_d_> _T_h_i_s _o_p_t_i_o_n _s_p_e_c_i_f_i_e_s _t_h_e _v_a_r_i_a_b_l_e _n_a_m_e _t_o _b_e _u_s_e_d _w_h_e_n _w_r_i_t_i_n_g _o_u_t _t_h_e _b_i_t_m_a_p _f_i_l_e_. _T_h_e _d_e_f_a_u_l_t _i_s _t_o _u_s_e _t_h_e _b_a_s_e_n_a_m_e _o_f _t_h_e _f_i_l_e_n_a_m_e _c_o_m_m_a_n_d _l_i_n_e _a_r_g_u_m_e_n_t _o_r _l_e_a_v_e _i_t _b_l_a_n_k _i_f _t_h_e _s_t_a_n_d_a_r_d _i_n_p_u_t _i_s _r_e_a_d_. _<_d_t_> _<_b_>_-_x_h_o_t _n_u_m_b_e_r_<_/_b_> _<_d_d_> _T_h_i_s _o_p_t_i_o_n _s_p_e_c_i_f_i_e_s _t_h_e _X _c_o_o_r_d_i_n_a_t_e _o_f _t_h_e _h_o_t_s_p_o_t_. _O_n_l_y _p_o_s_i_t_i_v_e _v_a_l_u_e_s _a_r_e _a_l_l_o_w_e_d_. _B_y _d_e_f_a_u_l_t_, _n_o _h_o_t_s_p_o_t _i_n_f_o_r_m_a_t_i_o_n _i_s _i_n_c_l_u_d_e_d_. _<_d_t_> _<_b_>_-_y_h_o_t _n_u_m_b_e_r_<_/_b_> _<_d_d_> _T_h_i_s _o_p_t_i_o_n _s_p_e_c_i_f_i_e_s _t_h_e _Y _c_o_o_r_d_i_n_a_t_e _o_f _t_h_e _h_o_t_s_p_o_t_. _O_n_l_y _p_o_s_i_t_i_v_e _v_a_l_u_e_s _a_r_e _a_l_l_o_w_e_d_. _B_y _d_e_f_a_u_l_t_, _n_o _h_o_t_s_p_o_t _i_n_f_o_r_m_a_t_i_o_n _i_s _i_n_c_l_u_d_e_d_. _<_/_d_l_> _<_h_3 _i_d_=_"_U_S_A_G_E_"_> _U_S_A_G_E _<_/_h_3_> _B_i_t_m_a_p _d_i_s_p_l_a_y_s _g_r_i_d _i_n _w_h_i_c_h _e_a_c_h _s_q_u_a_r_e _r_e_p_r_e_s_e_n_t_s _a _s_i_n_g_l_e _b_i_t _i_n _t_h_e _p_i_c_t_u_r_e _b_e_i_n_g _e_d_i_t_e_d_. _A_c_t_u_a_l _s_i_z_e _o_f _t_h_e _b_i_t_m_a_p _i_m_a_g_e_, _a_s _i_t _w_o_u_l_d _a_p_p_e_a_r _n_o_r_m_a_l_y _a_n_d _i_n_v_e_r_t_e_d_, _c_a_n _b_e _o_b_t_a_i_n_e_d _b_y _p_r_e_s_s_i_n_g MMeettaa--II _k_e_y_. _Y_o_u _a_r_e _f_r_e_e _t_o _m_o_v_e _t_h_e _i_m_a_g_e _p_o_p_u_p _o_u_t _o_f _t_h_e _w_a_y _t_o _c_o_n_t_i_n_u_e _e_d_i_t_i_n_g_. _P_r_e_s_s_i_n_g _t_h_e _l_e_f_t _m_o_u_s_e _b_u_t_t_o_n _i_n _t_h_e _p_o_p_u_p _w_i_n_d_o_w _o_r MMeettaa--II _a_g_a_i_n _w_i_l_l _r_e_m_o_v_e _t_h_e _r_e_a_l _s_i_z_e _b_i_t_m_a_p _i_m_a_g_e_. _<_p_> _I_f _t_h_e _b_i_t_m_a_p _i_s _t_o _b_e _u_s_e_d _f_o_r _d_e_f_i_n_i_n_g _a _c_u_r_s_o_r_, _o_n_e _o_f _t_h_e _s_q_u_a_r_e_s _i_n _t_h_e _i_m_a_g_e_s _m_a_y _b_e _d_e_s_i_g_n_a_t_e_d _a_s _t_h_e _h_o_t _s_p_o_t_. _T_h_i_s _d_e_t_e_r_m_i_n_e_s _w_h_e_r_e _t_h_e _c_u_r_s_o_r _i_s _a_c_t_u_a_l_l_y _p_o_i_n_t_i_n_g_. _F_o_r _c_u_r_s_o_r_s _w_i_t_h _s_h_a_r_p _t_i_p_s _(_s_u_c_h _a_s _a_r_r_o_w_s _o_r _f_i_n_g_e_r_s_)_, _t_h_i_s _i_s _u_s_u_a_l_l_y _a_t _t_h_e _e_n_d _o_f _t_h_e _t_i_p_; _f_o_r _s_y_m_m_e_t_r_i_c _c_u_r_s_o_r_s _(_s_u_c_h _a_s _c_r_o_s_s_e_s _o_r _b_u_l_l_s_e_y_e_s_)_, _t_h_i_s _i_s _u_s_u_a_l_l_y _a_t _t_h_e _c_e_n_t_e_r_. _<_p_> _B_i_t_m_a_p_s _a_r_e _s_t_o_r_e_d _a_s _s_m_a_l_l _C _c_o_d_e _f_r_a_g_m_e_n_t_s _s_u_i_t_a_b_l_e _f_o_r _i_n_c_l_u_d_i_n_g _i_n _a_p_p_l_i_c_a_t_i_o_n_s_. _T_h_e_y _p_r_o_v_i_d_e _a_n _a_r_r_a_y _o_f _b_i_t_s _a_s _w_e_l_l _a_s _s_y_m_b_o_l_i_c _c_o_n_s_t_a_n_t_s _g_i_v_i_n_g _t_h_e _w_i_d_t_h_, _h_e_i_g_h_t_, _a_n_d _h_o_t _s_p_o_t _(_i_f _s_p_e_c_i_f_i_e_d_) _t_h_a_t _m_a_y _b_e _u_s_e_d _i_n _c_r_e_a_t_i_n_g _c_u_r_s_o_r_s_, _i_c_o_n_s_, _a_n_d _t_i_l_e_s_. _<_h_3 _i_d_=_"_E_D_I_T_I_N_G_"_> _E_D_I_T_I_N_G _<_/_h_3_> _T_o _e_d_i_t _a _b_i_t_m_a_p _i_m_a_g_e _s_i_m_p_l_y _c_l_i_c_k _o_n _o_n_e _o_f _t_h_e _b_u_t_t_o_n_s _w_i_t_h _d_r_a_w_i_n_g _c_o_m_m_a_n_d_s _(PPooiinntt,, CCuurrvvee,, LLiinnee,, RReeccttaannggllee,, _e_t_c_._) _a_n_d _m_o_v_e _t_h_e _p_o_i_n_t_e_r _i_n_t_o _t_h_e _b_i_t_m_a_p _g_r_i_d _w_i_n_d_o_w_. _P_r_e_s_s _o_n_e _o_f _t_h_e _b_u_t_t_o_n_s _o_n _y_o_u_r _m_o_u_s_e _a_n_d _t_h_e _a_p_p_r_o_p_r_i_a_t_e _a_c_t_i_o_n _w_i_l_l _t_a_k_e _p_l_a_c_e_. _Y_o_u _c_a_n _e_i_t_h_e_r _s_e_t_, _c_l_e_a_r _o_r _i_n_v_e_r_t _t_h_e _g_i_r_d _s_q_u_a_r_e_s_. _S_e_t_t_i_n_g _a _g_r_i_d _s_q_u_a_r_e _c_o_r_r_e_s_p_o_n_d_s _t_o _s_e_t_t_i_n_g _a _b_i_t _i_n _t_h_e _b_i_t_m_a_p _i_m_a_g_e _t_o _1_. _C_l_e_a_r_i_n_g _a _g_r_i_d _s_q_u_a_r_e _c_o_r_r_e_s_p_o_n_d_s _t_o _s_e_t_t_i_n_g _a _b_i_t _i_n _t_h_e _b_i_t_m_a_p _i_m_a_g_e _t_o _0_. _I_n_v_e_r_t_i_n_g _a _g_r_i_d _s_q_u_a_r_e _c_o_r_r_e_s_p_o_n_d_s _t_o _c_h_a_n_g_i_n_g _a _b_i_t _i_n _t_h_e _b_i_t_m_a_p _i_m_a_g_e _f_r_o_m _0 _t_o _1 _o_r _1 _t_o _0_, _d_e_p_e_n_d_i_n_g _w_h_a_t _i_t_s _p_r_e_v_i_o_u_s _s_t_a_t_e _w_a_s_. _T_h_e _d_e_f_a_u_l_t _b_e_h_a_v_i_o_r _o_f _m_o_u_s_e _b_u_t_t_o_n_s _i_s _a_s _s_p_e_c_i_f_i_e_d _b_e_l_o_w_. _<_b_r_>_<_b_r_> _<_b_r_> _<_p_r_e_> _M_o_u_s_e_B_u_t_t_o_n_1 _S_e_t _M_o_u_s_e_B_u_t_t_o_n_2 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_e_. _T_h_e _g_r_i_d _s_q_u_a_r_e_s _w_i_l_l _b_e _i_n_v_e_r_t_e_d _a_p_p_r_o_p_r_i_a_t_e_l_y_. _P_r_e_s_s_i_n_g _I _i_n_s_i_d_e _t_h_e _b_i_t_m_a_p _w_i_n_d_o_w _h_a_s _t_h_e _s_a_m_e _e_f_f_e_c_t_. _<_d_t_> _<_b_>_M_a_r_k_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _i_s _u_s_e_d _t_o _m_a_r_k _a_n _a_r_e_a _o_f _t_h_e _g_r_i_d _b_y _d_r_a_g_g_i_n_g _o_u_t _a _r_e_c_t_a_n_g_u_l_a_r _s_h_a_p_e _i_n _t_h_e _h_i_g_h_l_i_g_h_t_i_n_g _c_o_l_o_r_. _O_n_c_e _t_h_e _a_r_e_a _i_s _m_a_r_k_e_d_, _i_t _c_a_n _b_e _o_p_e_r_a_t_e_d _o_n _b_y _a _n_u_m_b_e_r _o_f _c_o_m_m_a_n_d_s _(_s_e_e UUpp,, DDoowwnn,, LLeefftt,, RRiigghhtt,, RRoottaattee,, FFlliipp,, CCuutt,, _e_t_c_._) _O_n_l_y _o_n_e _m_a_r_k_e_d _a_r_e_a _c_a_n _b_e _p_r_e_s_e_n_t _a_t _a_n_y _t_i_m_e_. _I_f _y_o_u _a_t_t_e_m_p_t _t_o _m_a_r_k _a_n_o_t_h_e_r _a_r_e_a_, _t_h_e _o_l_d _m_a_r_k _w_i_l_l _v_a_n_i_s_h_. _T_h_e _s_a_m_e _e_f_f_e_c_t _c_a_n _b_e _a_c_h_i_e_v_e_d _b_y _p_r_e_s_s_i_n_g SShhiifftt--MMoouusseeBBuuttttoonn11 _a_n_d _d_r_a_g_g_i_n_g _o_u_t _a _r_e_c_t_a_n_g_l_e _i_n _t_h_e _g_r_i_d _w_i_n_d_o_w_. _P_r_e_s_s_i_n_g SShhiifftt--MMoouusseeBBuuttttoonn22 _w_i_l_l _m_a_r_k _t_h_e _e_n_t_i_r_e _g_r_i_d _a_r_e_a_. _<_d_t_> _<_b_>_U_n_m_a_r_k_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _w_i_l_l _c_a_u_s_e _t_h_e _m_a_r_k_e_d _a_r_e_a _t_o _v_a_n_i_s_h_. _T_h_e _s_a_m_e _e_f_f_e_c_t _c_a_n _b_e _a_c_h_i_e_v_e_d _b_y _p_r_e_s_s_i_n_g SShhiifftt--MMoouusseeBBuuttttoonn33_. _<_d_t_> _<_b_>_C_o_p_y_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _i_s _u_s_e_d _t_o _c_o_p_y _a_n _a_r_e_a _o_f _t_h_e _g_r_i_d _f_r_o_m _o_n_e _l_o_c_a_t_i_o_n _t_o _a_n_o_t_h_e_r_. _I_f _t_h_e_r_e _i_s _n_o _m_a_r_k_e_d _g_r_i_d _a_r_e_a _d_i_s_p_l_a_y_e_d_, CCooppyy _b_e_h_a_v_e_s _j_u_s_t _l_i_k_e MMaarrkk _d_e_s_c_r_i_b_e_d _a_b_o_v_e_. _O_n_c_e _t_h_e_r_e _i_s _a _m_a_r_k_e_d _g_r_i_d _a_r_e_a _d_i_s_p_l_a_y_e_d _i_n _t_h_e _h_i_g_h_l_i_g_h_t_i_n_g _c_o_l_o_r_, _t_h_i_s _c_o_m_m_a_n_d _h_a_s _t_w_o _a_l_t_e_r_n_a_t_i_v_e _b_e_h_a_v_i_o_r_s_. _I_f _y_o_u _c_l_i_c_k _a _m_o_u_s_e _b_u_t_t_o_n _i_n_s_i_d_e _t_h_e _m_a_r_k_e_d _a_r_e_a_, _y_o_u _w_i_l_l _b_e _a_b_l_e _t_o _d_r_a_g _t_h_e _r_e_c_t_a_n_g_l_e _t_h_a_t _r_e_p_r_e_s_e_n_t_s _t_h_e _m_a_r_k_e_d _a_r_e_a _t_o _t_h_e _d_e_s_i_r_e_d _l_o_c_a_t_i_o_n_. _A_f_t_e_r _y_o_u _r_e_l_e_a_s_e _t_h_e _m_o_u_s_e _b_u_t_t_o_n_, _t_h_e _a_r_e_a _w_i_l_l _b_e _c_o_p_i_e_d_. _I_f _y_o_u _c_l_i_c_k _o_u_t_s_i_d_e _t_h_e _m_a_r_k_e_d _a_r_e_a_, CCooppyy _w_i_l_l _a_s_s_u_m_e _t_h_a_t _y_o_u _w_i_s_h _t_o _m_a_r_k _a _d_i_f_f_e_r_e_n_t _r_e_g_i_o_n _o_f _t_h_e _b_i_t_m_a_p _i_m_a_g_e_, _t_h_u_s _i_t _w_i_l_l _b_e_h_a_v_e _l_i_k_e MMaarrkk _a_g_a_i_n_. _<_d_t_> _<_b_>_M_o_v_e_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _i_s _u_s_e_d _t_o _m_o_v_e _a_n _a_r_e_a _o_f _t_h_e _g_r_i_d _f_r_o_m _o_n_e _l_o_c_a_t_i_o_n _t_o _a_n_o_t_h_e_r_. _I_t_s _b_e_h_a_v_i_o_r _r_e_s_e_m_b_l_e_s _t_h_e _b_e_h_a_v_i_o_r _o_f CCooppyy _c_o_m_m_a_n_d_, _e_x_c_e_p_t _t_h_a_t _t_h_e _m_a_r_k_e_d _a_r_e_a _w_i_l_l _b_e _m_o_v_e_d _i_n_s_t_e_a_d _o_f _c_o_p_i_e_d_. _<_d_t_> _<_b_>_F_l_i_p _H_o_r_i_z_o_n_t_a_l_l_y_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _w_i_l_l _f_l_i_p _t_h_e _b_i_t_m_a_p _i_m_a_g_e _w_i_t_h _r_e_s_p_e_c_t _t_o _t_h_e _h_o_r_i_z_o_n_t_a_l _a_x_e_s_. _I_f _a _m_a_r_k_e_d _a_r_e_a _o_f _t_h_e _g_r_i_d _i_s _h_i_g_h_l_i_g_h_t_e_d_, _i_t _w_i_l_l _o_p_e_r_a_t_e _o_n_l_y _i_n_s_i_d_e _t_h_e _m_a_r_k_e_d _a_r_e_a_. _P_r_e_s_s_i_n_g _H _i_n_s_i_d_e _t_h_e _b_i_t_m_a_p _w_i_n_d_o_w _h_a_s _t_h_e _s_a_m_e _e_f_f_e_c_t_. _<_d_t_> _<_b_>_U_p_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _m_o_v_e_s _t_h_e _b_i_t_m_a_p _i_m_a_g_e _o_n_e _p_i_x_e_l _u_p_. _I_f _a _m_a_r_k_e_d _a_r_e_a _o_f _t_h_e _g_r_i_d _i_s _h_i_g_h_l_i_g_h_t_e_d_, _i_t _w_i_l_l _o_p_e_r_a_t_e _o_n_l_y _i_n_s_i_d_e _t_h_e _m_a_r_k_e_d _a_r_e_a_. _P_r_e_s_s_i_n_g _U_p_A_r_r_o_w _i_n_s_i_d_e _t_h_e _b_i_t_m_a_p _w_i_n_d_o_w _h_a_s _t_h_e _s_a_m_e _e_f_f_e_c_t_. _<_d_t_> _<_b_>_F_l_i_p _V_e_r_t_i_c_a_l_l_y_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _w_i_l_l _f_l_i_p _t_h_e _b_i_t_m_a_p _i_m_a_g_e _w_i_t_h _r_e_s_p_e_c_t _t_o _t_h_e _v_e_r_t_i_c_a_l _a_x_e_s_. _I_f _a _m_a_r_k_e_d _a_r_e_a _o_f _t_h_e _g_r_i_d _i_s _h_i_g_h_l_i_g_h_t_e_d_, _i_t _w_i_l_l _o_p_e_r_a_t_e _o_n_l_y _i_n_s_i_d_e _t_h_e _m_a_r_k_e_d _a_r_e_a_. _P_r_e_s_s_i_n_g _V _i_n_s_i_d_e _t_h_e _b_i_t_m_a_p _w_i_n_d_o_w _h_a_s _t_h_e _s_a_m_e _e_f_f_e_c_t_. _<_d_t_> _<_b_>_L_e_f_t_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _m_o_v_e_s _t_h_e _b_i_t_m_a_p _i_m_a_g_e _o_n_e _p_i_x_e_l _t_o _t_h_e _l_e_f_t_. _I_f _a _m_a_r_k_e_d _a_r_e_a _o_f _t_h_e _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> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _r_o_t_a_t_e_s _t_h_e _b_i_t_m_a_p _i_m_a_g_e _9_0 _d_e_g_r_e_e_s _t_o _t_h_e _l_e_f_t _(_c_o_u_n_t_e_r _c_l_o_c_k_w_i_s_e_._) _I_f _a _m_a_r_k_e_d _a_r_e_a _o_f _t_h_e _g_r_i_d _i_s _h_i_g_h_l_i_g_h_t_e_d_, _i_t _w_i_l_l _o_p_e_r_a_t_e _o_n_l_y _i_n_s_i_d_e _t_h_e _m_a_r_k_e_d _a_r_e_a_. _P_r_e_s_s_i_n_g _L _i_n_s_i_d_e _t_h_e _b_i_t_m_a_p _w_i_n_d_o_w _h_a_s _t_h_e _s_a_m_e _e_f_f_e_c_t_. _<_d_t_> _<_b_>_D_o_w_n_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _m_o_v_e_s _t_h_e _b_i_t_m_a_p _i_m_a_g_e _o_n_e _p_i_x_e_l _d_o_w_n_. _I_f _a _m_a_r_k_e_d _a_r_e_a _o_f _t_h_e _g_r_i_d _i_s _h_i_g_h_l_i_g_h_t_e_d_, _i_t _w_i_l_l _o_p_e_r_a_t_e _o_n_l_y _i_n_s_i_d_e _t_h_e _m_a_r_k_e_d _a_r_e_a_. _P_r_e_s_s_i_n_g _D_o_w_n_A_r_r_o_w _i_n_s_i_d_e _t_h_e _b_i_t_m_a_p _w_i_n_d_o_w _h_a_s _t_h_e _s_a_m_e _e_f_f_e_c_t_. _<_d_t_> _<_b_>_R_o_t_a_t_e _R_i_g_h_t_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _r_o_t_a_t_e_s _t_h_e _b_i_t_m_a_p _i_m_a_g_e _9_0 _d_e_g_r_e_e_s _t_o _t_h_e _r_i_g_h_t _(_c_l_o_c_k_w_i_s_e_._) _I_f _a _m_a_r_k_e_d _a_r_e_a _o_f _t_h_e _g_r_i_d _i_s _h_i_g_h_l_i_g_h_t_e_d_, _i_t _w_i_l_l _o_p_e_r_a_t_e _o_n_l_y _i_n_s_i_d_e _t_h_e _m_a_r_k_e_d _a_r_e_a_. _P_r_e_s_s_i_n_g _R _i_n_s_i_d_e _t_h_e _b_i_t_m_a_p _w_i_n_d_o_w _h_a_s _t_h_e _s_a_m_e _e_f_f_e_c_t_. _<_d_t_> _<_b_>_P_o_i_n_t_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _w_i_l_l _c_h_a_n_g_e _t_h_e _g_r_i_d _s_q_u_a_r_e_s _u_n_d_e_r_n_e_a_t_h _t_h_e _m_o_u_s_e _p_o_i_n_t_e_r _i_f _a _m_o_u_s_e _b_u_t_t_o_n _i_s _b_e_i_n_g _p_r_e_s_s_e_d _d_o_w_n_. _I_f _y_o_u _d_r_a_g _t_h_e _m_o_u_s_e _b_u_t_t_o_n _c_o_n_t_i_n_u_o_u_s_l_y_, _t_h_e _l_i_n_e _m_a_y _n_o_t _b_e _c_o_n_t_i_n_u_o_u_s_, _d_e_p_e_n_d_i_n_g _o_n _t_h_e _s_p_e_e_d _o_f _y_o_u_r _s_y_s_t_e_m _a_n_d _f_r_e_q_u_e_n_c_y _o_f _m_o_u_s_e _m_o_t_i_o_n _e_v_e_n_t_s_. _<_d_t_> _<_b_>_C_u_r_v_e_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _w_i_l_l _c_h_a_n_g_e _t_h_e _g_r_i_d _s_q_u_a_r_e_s _u_n_d_e_r_n_e_a_t_h _t_h_e _m_o_u_s_e _p_o_i_n_t_e_r _i_f _a _m_o_u_s_e _b_u_t_t_o_n _i_s _b_e_i_n_g _p_r_e_s_s_e_d _d_o_w_n_. _I_f _y_o_u _d_r_a_g _t_h_e _m_o_u_s_e _b_u_t_t_o_n _c_o_n_t_i_n_u_o_u_s_l_y_, _i_t _w_i_l_l _m_a_k_e _s_u_r_e _t_h_a_t _t_h_e _l_i_n_e _i_s _c_o_n_t_i_n_u_o_u_s_. _I_f _y_o_u_r _s_y_s_t_e_m _i_s _s_l_o_w _o_r _b_i_t_m_a_p _r_e_c_e_i_v_e_s _v_e_r_y _f_e_w _m_o_u_s_e _m_o_t_i_o_n _e_v_e_n_t_s_, _i_t _m_i_g_h_t _b_e_h_a_v_e _q_u_i_t_e _s_t_r_a_n_g_e_l_y_. _<_d_t_> _<_b_>_L_i_n_e_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _w_i_l_l _c_h_a_n_g_e _t_h_e _g_i_r_d _s_q_u_a_r_e_s _i_n _a _l_i_n_e _b_e_t_w_e_e_n _t_w_o _s_q_u_a_r_e_s_. _O_n_c_e _y_o_u _p_r_e_s_s _a _m_o_u_s_e _b_u_t_t_o_n _i_n _t_h_e _g_r_i_d _w_i_n_d_o_w_, _b_i_t_m_a_p _w_i_l_l _h_i_g_h_l_i_g_h_t _t_h_e _l_i_n_e _f_r_o_m _t_h_e _s_q_u_a_r_e _w_h_e_r_e _t_h_e _m_o_u_s_e _b_u_t_t_o_n _w_a_s _i_n_i_t_i_a_l_l_y _p_r_e_s_s_e_d _t_o _t_h_e _s_q_u_a_r_e _w_h_e_r_e _t_h_e _m_o_u_s_e _p_o_i_n_t_e_r _i_s _l_o_c_a_t_e_d_. _B_y _r_e_l_e_a_s_i_n_g _t_h_e _m_o_u_s_e _b_u_t_t_o_n _y_o_u _w_i_l_l _c_a_u_s_e _t_h_e _c_h_a_n_g_e _t_o _t_a_k_e _e_f_f_e_c_t_, _a_n_d _t_h_e _h_i_g_h_l_i_g_h_t_e_d _l_i_n_e _w_i_l_l _d_i_s_a_p_p_e_a_r_. _<_d_t_> _<_b_>_R_e_c_t_a_n_g_l_e_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _w_i_l_l _c_h_a_n_g_e _t_h_e _g_i_r_d _s_q_u_a_r_e_s _i_n _a _r_e_c_t_a_n_g_l_e _b_e_t_w_e_e_n _t_w_o _s_q_u_a_r_e_s_. _O_n_c_e _y_o_u _p_r_e_s_s _a _m_o_u_s_e _b_u_t_t_o_n _i_n _t_h_e _g_r_i_d _w_i_n_d_o_w_, _b_i_t_m_a_p _w_i_l_l _h_i_g_h_l_i_g_h_t _t_h_e _r_e_c_t_a_n_g_l_e _f_r_o_m _t_h_e _s_q_u_a_r_e _w_h_e_r_e _t_h_e _m_o_u_s_e _b_u_t_t_o_n _w_a_s _i_n_i_t_i_a_l_l_y _p_r_e_s_s_e_d _t_o _t_h_e _s_q_u_a_r_e _w_h_e_r_e _t_h_e _m_o_u_s_e _p_o_i_n_t_e_r _i_s _l_o_c_a_t_e_d_. _B_y _r_e_l_e_a_s_i_n_g _t_h_e _m_o_u_s_e _b_u_t_t_o_n _y_o_u _w_i_l_l _c_a_u_s_e _t_h_e _c_h_a_n_g_e _t_o _t_a_k_e _e_f_f_e_c_t_, _a_n_d _t_h_e _h_i_g_h_l_i_g_h_t_e_d _r_e_c_t_a_n_g_l_e _w_i_l_l _d_i_s_a_p_p_e_a_r_. _<_d_t_> _<_b_>_F_i_l_l_e_d _R_e_c_t_a_n_g_l_e_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _i_s _i_d_e_n_t_i_c_a_l _t_o RReeccttaannggllee_, _e_x_c_e_p_t _a_t _t_h_e _e_n_d _t_h_e _r_e_c_t_a_n_g_l_e _w_i_l_l _b_e _f_i_l_l_e_d _r_a_t_h_e_r _t_h_a_n _o_u_t_l_i_n_e_d_. _<_d_t_> _<_b_>_C_i_r_c_l_e_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _w_i_l_l _c_h_a_n_g_e _t_h_e _g_i_r_d _s_q_u_a_r_e_s _i_n _a _c_i_r_c_l_e _b_e_t_w_e_e_n _t_w_o _s_q_u_a_r_e_s_. _O_n_c_e _y_o_u _p_r_e_s_s _a _m_o_u_s_e _b_u_t_t_o_n _i_n _t_h_e _g_r_i_d _w_i_n_d_o_w_, _b_i_t_m_a_p _w_i_l_l _h_i_g_h_l_i_g_h_t _t_h_e _c_i_r_c_l_e _f_r_o_m _t_h_e _s_q_u_a_r_e _w_h_e_r_e _t_h_e _m_o_u_s_e _b_u_t_t_o_n _w_a_s _i_n_i_t_i_a_l_l_y _p_r_e_s_s_e_d _t_o _t_h_e _s_q_u_a_r_e _w_h_e_r_e _t_h_e _m_o_u_s_e _p_o_i_n_t_e_r _i_s _l_o_c_a_t_e_d_. _B_y _r_e_l_e_a_s_i_n_g _t_h_e _m_o_u_s_e _b_u_t_t_o_n _y_o_u _w_i_l_l _c_a_u_s_e _t_h_e _c_h_a_n_g_e _t_o _t_a_k_e _e_f_f_e_c_t_, _a_n_d _t_h_e _h_i_g_h_l_i_g_h_t_e_d _c_i_r_c_l_e _w_i_l_l _d_i_s_a_p_p_e_a_r_. _<_d_t_> _<_b_>_F_i_l_l_e_d _C_i_r_c_l_e_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _i_s _i_d_e_n_t_i_c_a_l _t_o CCiirrccllee_, _e_x_c_e_p_t _a_t _t_h_e _e_n_d _t_h_e _c_i_r_c_l_e _w_i_l_l _b_e _f_i_l_l_e_d _r_a_t_h_e_r _t_h_a_n _o_u_t_l_i_n_e_d_. _<_d_t_> _<_b_>_F_l_o_o_d _F_i_l_l_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _w_i_l_l _f_l_o_o_d _f_i_l_l _t_h_e _c_o_n_n_e_c_t_e_d _a_r_e_a _u_n_d_e_r_n_e_a_t_h _t_h_e _m_o_u_s_e _p_o_i_n_t_e_r _w_h_e_n _y_o_u _c_l_i_c_k _o_n _t_h_e _d_e_s_i_r_e_d _s_q_u_a_r_e_. _D_i_a_g_o_n_a_l_l_y _a_d_j_a_c_e_n_t _s_q_u_a_r_e_s _a_r_e _n_o_t _c_o_n_s_i_d_e_r_e_d _t_o _b_e _c_o_n_n_e_c_t_e_d_. _<_d_t_> _<_b_>_S_e_t _H_o_t _S_p_o_t_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _d_e_s_i_g_n_a_t_e_s _o_n_e _s_q_u_a_r_e _i_n _t_h_e _g_r_i_d _a_s _t_h_e _h_o_t _s_p_o_t _i_f _t_h_i_s _b_i_t_m_a_p _i_m_a_g_e _i_s _t_o _b_e _u_s_e_d _f_o_r _d_e_f_i_n_i_n_g _a _c_u_r_s_o_r_. _P_r_e_s_s_i_n_g _a _m_o_u_s_e _b_u_t_t_o_n _i_n _t_h_e _d_e_s_i_r_e_d _s_q_u_a_r_e _w_i_l_l _c_a_u_s_e _a _d_i_a_m_o_n_d _s_h_a_p_e _t_o _b_e _d_i_s_p_l_a_y_e_d_. _<_d_t_> _<_b_>_C_l_e_a_r _H_o_t _S_p_o_t_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _r_e_m_o_v_e_s _a_n_y _d_e_s_i_g_n_a_t_e_d _h_o_t _s_p_o_t _f_r_o_m _t_h_e _b_i_t_m_a_p _i_m_a_g_e_. _<_d_t_> _<_b_>_U_n_d_o_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _w_i_l_l _u_n_d_o _t_h_e _l_a_s_t _e_x_e_c_u_t_e_d _c_o_m_m_a_n_d_. _I_t _h_a_s _d_e_p_t_h _o_n_e_, _t_h_a_t _i_s_, _p_r_e_s_s_i_n_g UUnnddoo _a_f_t_e_r UUnnddoo _w_i_l_l _u_n_d_o _i_t_s_e_l_f_. _<_/_d_l_> _<_h_3 _i_d_=_"_F_I_L_E _M_E_N_U_"_> _F_I_L_E _M_E_N_U _<_/_h_3_> _T_h_e _F_i_l_e _m_e_n_u _c_o_m_m_a_n_d_s _c_a_n _b_e _a_c_c_e_s_s_e_d _b_y _p_r_e_s_s_i_n_g _t_h_e _F_i_l_e _b_u_t_t_o_n _a_n_d _s_e_l_e_c_t_i_n_g _t_h_e _a_p_p_r_o_p_r_i_a_t_e _m_e_n_u _e_n_t_r_y_, _o_r _b_y _p_r_e_s_s_i_n_g _C_t_r_l _k_e_y _w_i_t_h _a_n_o_t_h_e_r _k_e_y_. _T_h_e_s_e _c_o_m_m_a_n_d_s _d_e_a_l _w_i_t_h _f_i_l_e_s _a_n_d _g_l_o_b_a_l _b_i_t_m_a_p _p_a_r_a_m_e_t_e_r_s_, _s_u_c_h _a_s _s_i_z_e_, _b_a_s_e_n_a_m_e_, _f_i_l_e_n_a_m_e _e_t_c_. _<_d_l _c_o_m_p_a_c_t_> _<_d_t_> _<_b_>_N_e_w_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _w_i_l_l _c_l_e_a_r _t_h_e _e_d_i_t_i_n_g _a_r_e_a _a_n_d _p_r_o_m_p_t _f_o_r _t_h_e _n_a_m_e _o_f _t_h_e _n_e_w _f_i_l_e _t_o _b_e _e_d_i_t_e_d_. _I_t _w_i_l_l _n_o_t _l_o_a_d _i_n _t_h_e _n_e_w _f_i_l_e_. _<_d_t_> _<_b_>_L_o_a_d_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _i_s _u_s_e_d _t_o _l_o_a_d _a _n_e_w _b_i_t_m_a_p _f_i_l_e _i_n_t_o _t_h_e _b_i_t_m_a_p _e_d_i_t_o_r_. _I_f _t_h_e _c_u_r_r_e_n_t _i_m_a_g_e _h_a_s _n_o_t _b_e_e_n _s_a_v_e_d_, _u_s_e_r _w_i_l_l _b_e _a_s_k_e_d _w_h_e_t_h_e_r _t_o _s_a_v_e _o_r _i_g_n_o_r_e _t_h_e _c_h_a_n_g_e_s_. _T_h_e _e_d_i_t_o_r _c_a_n _e_d_i_t _o_n_l_y _o_n_e _f_i_l_e _a_t _a _t_i_m_e_. _I_f _y_o_u _n_e_e_d _i_n_t_e_r_a_c_t_i_v_e _e_d_i_t_i_n_g_, _r_u_n _a _n_u_m_b_e_r _o_f _e_d_i_t_o_r_s _a_n_d _u_s_e _c_u_t _a_n_d _p_a_s_t_e _m_e_c_h_a_n_i_s_m _a_s _d_e_s_c_r_i_b_e_d _b_e_l_o_w_. _<_d_t_> _<_b_>_I_n_s_e_r_t_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _i_s _u_s_e_d _t_o _i_n_s_e_r_t _a _b_i_t_m_a_p _f_i_l_e _i_n_t_o _t_h_e _i_m_a_g_e _b_e_i_n_g _c_u_r_r_e_n_t_l_y _e_d_i_t_e_d_. _A_f_t_e_r _b_e_i_n_g _p_r_o_m_p_t_e_d _f_o_r _t_h_e _f_i_l_e_n_a_m_e_, _c_l_i_c_k _i_n_s_i_d_e _t_h_e _g_r_i_d _w_i_n_d_o_w _a_n_d _d_r_a_g _t_h_e _o_u_t_l_i_n_e_d _r_e_c_t_a_n_g_l_e _t_o _t_h_e _l_o_c_a_t_i_o_n _w_h_e_r_e _y_o_u _w_a_n_t _t_o _i_n_s_e_r_t _t_h_e _n_e_w _f_i_l_e_. _<_d_t_> _<_b_>_S_a_v_e_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _w_i_l_l _s_a_v_e _t_h_e _b_i_t_m_a_p _i_m_a_g_e_. _I_t _w_i_l_l _n_o_t _p_r_o_m_p_t _f_o_r _t_h_e _f_i_l_e_n_a_m_e _u_n_l_e_s_s _i_t _i_s _s_a_i_d _t_o _b_e _<_n_o_n_e_>_. _I_f _y_o_u _l_e_a_v_e _t_h_e _f_i_l_e_n_a_m_e _u_n_d_e_s_i_g_n_a_t_e_d _o_r _-_, _t_h_e _o_u_t_p_u_t _w_i_l_l _b_e _p_i_p_e_d _t_o _s_t_d_o_u_t_. _<_d_t_> _<_b_>_S_a_v_e _A_s_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _w_i_l_l _s_a_v_e _t_h_e _b_i_t_m_a_p _i_m_a_g_e _a_f_t_e_r _p_r_o_m_p_t_i_n_g _f_o_r _a _n_e_w _f_i_l_e_n_a_m_e_. _I_t _s_h_o_u_l_d _b_e _u_s_e_d _i_f _y_o_u _w_a_n_t _t_o _c_h_a_n_g_e _t_h_e _f_i_l_e_n_a_m_e_. _<_d_t_> _<_b_>_R_e_s_i_z_e_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _i_s _u_s_e_d _t_o _r_e_s_i_z_e _t_h_e _e_d_i_t_i_n_g _a_r_e_a _t_o _t_h_e _n_e_w _n_u_m_b_e_r _o_f _p_i_x_e_l_s_. _T_h_e _s_i_z_e _s_h_o_u_l_d _b_e _e_n_t_e_r_e_d _i_n _t_h_e _W_I_D_T_H_x_H_E_I_G_H_T _f_o_r_m_a_t_. _T_h_e _i_n_f_o_r_m_a_t_i_o_n _i_n _t_h_e _i_m_a_g_e _b_e_i_n_g _e_d_i_t_e_d _w_i_l_l _n_o_t _b_e _l_o_s_t _u_n_l_e_s_s _t_h_e _n_e_w _s_i_z_e _i_s _s_m_a_l_l_e_r _t_h_a_t _t_h_e _c_u_r_r_e_n_t _i_m_a_g_e _s_i_z_e_. _T_h_e _e_d_i_t_o_r _w_a_s _n_o_t _d_e_s_i_g_n_e_d _t_o _e_d_i_t _h_u_g_e _f_i_l_e_s_. _<_d_t_> _<_b_>_R_e_s_c_a_l_e_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _i_s _u_s_e_d _t_o _r_e_s_c_a_l_e _t_h_e _e_d_i_t_i_n_g _a_r_e_a _t_o _t_h_e _n_e_w _w_i_d_t_h _a_n_d _h_e_i_g_h_t_. _T_h_e _s_i_z_e _s_h_o_u_l_d _b_e _e_n_t_e_r_e_d _i_n _t_h_e _W_I_D_T_H_x_H_E_I_G_H_T _f_o_r_m_a_t_. _I_t _w_i_l_l _n_o_t _d_o _a_n_t_i_a_l_i_a_s_i_n_g _a_n_d _i_n_f_o_r_m_a_t_i_o_n _w_i_l_l _b_e _l_o_s_t _i_f _y_o_u _r_e_s_c_a_l_e _t_o _t_h_e _s_m_a_l_l_e_r _s_i_z_e_s_. _F_e_e_l _f_r_e_e _t_o _a_d_d _y_o_u _o_w_n _a_l_g_o_r_i_t_h_m_s _f_o_r _b_e_t_t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_n_d_s _c_a_n _b_e _a_c_c_e_s_s_e_d _b_y _p_r_e_s_s_i_n_g _t_h_e _E_d_i_t _b_u_t_t_o_n _a_n_d _s_e_l_e_c_t_i_n_g _t_h_e _a_p_p_r_o_p_r_i_a_t_e _m_e_n_u _e_n_t_r_y_, _o_r _b_y _p_r_e_s_s_i_n_g _M_e_t_a _k_e_y _w_i_t_h _a_n_o_t_h_e_r _k_e_y_. _T_h_e_s_e _c_o_m_m_a_n_d_s _d_e_a_l _w_i_t_h _e_d_i_t_i_n_g _f_a_c_i_l_i_t_i_e_s _s_u_c_h _a_s _g_r_i_d_, _a_x_e_s_, _z_o_o_m_i_n_g_, _c_u_t _a_n_d _p_a_s_t_e_, _e_t_c_. _<_d_l _c_o_m_p_a_c_t_> _<_d_t_> _<_b_>_I_m_a_g_e_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _w_i_l_l _d_i_s_p_l_a_y _t_h_e _i_m_a_g_e _b_e_i_n_g _e_d_i_t_e_d _a_n_d _i_t_s _i_n_v_e_r_s_e _i_n _i_t_s _a_c_t_u_a_l _s_i_z_e _i_n _a _s_e_p_a_r_a_t_e _w_i_n_d_o_w_. _T_h_e _w_i_n_d_o_w _c_a_n _b_e _m_o_v_e_d _a_w_a_y _t_o _c_o_n_t_i_n_u_e _w_i_t_h _e_d_i_t_i_n_g_. _P_r_e_s_s_i_n_g _t_h_e _l_e_f_t _m_o_u_s_e _b_u_t_t_o_n _i_n _t_h_e _i_m_a_g_e _w_i_n_d_o_w _w_i_l_l _c_a_u_s_e _i_t _t_o _d_i_s_a_p_p_e_a_r _f_r_o_m _t_h_e _s_c_r_e_e_n_. _<_d_t_> _<_b_>_G_r_i_d_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _c_o_n_t_r_o_l_s _t_h_e _g_r_i_d _i_n _t_h_e _e_d_i_t_i_n_g _a_r_e_a_. _I_f _t_h_e _g_r_i_d _s_p_a_c_i_n_g _i_s _b_e_l_o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_s_e_r _w_i_l_l _h_a_v_e _t_o _h_i_g_h_l_i_g_h_t _a_n _a_r_e_a _t_o _b_e _e_d_i_t_e_d _i_n _t_h_e _z_o_o_m _m_o_d_e _a_n_d _b_i_t_m_a_p _w_i_l_l _a_u_t_o_m_a_t_i_c_a_l_l_y _s_w_i_t_c_h _i_n_t_o _i_t_. _O_n_e _c_a_n _u_s_e _a_l_l _t_h_e _e_d_i_t_i_n_g _c_o_m_m_a_n_d_s _a_n_d _o_t_h_e_r _u_t_i_l_i_t_i_e_s _i_n _t_h_e _z_o_o_m _m_o_d_e_. _W_h_e_n _y_o_u _z_o_o_m _o_u_t_, _u_n_d_o _c_o_m_m_a_n_d _w_i_l_l _u_n_d_o _t_h_e _w_h_o_l_e _z_o_o_m _s_e_s_s_i_o_n_. _<_d_t_> _<_b_>_C_u_t_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d_s _c_u_t_s _t_h_e _c_o_n_t_e_n_t_s _o_f _t_h_e _h_i_g_h_l_i_g_h_t_e_d _i_m_a_g_e _a_r_e_a _i_n_t_o _t_h_e _i_n_t_e_r_n_a_l _c_u_t _a_n_d _p_a_s_t_e _b_u_f_f_e_r_. _<_d_t_> _<_b_>_C_o_p_y_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _c_o_p_i_e_s _t_h_e _c_o_n_t_e_n_t_s _o_f _t_h_e _h_i_g_h_l_i_g_h_t_e_d _i_m_a_g_e _a_r_e_a _i_n_t_o _t_h_e _i_n_t_e_r_n_a_l _c_u_t _a_n_d _p_a_s_t_e _b_u_f_f_e_r_. _<_d_t_> _<_b_>_P_a_s_t_e_<_/_b_> _<_d_d_> _T_h_i_s _c_o_m_m_a_n_d _w_i_l_l _c_h_e_c_k _i_f _t_h_e_r_e _a_r_e _a_n_y _o_t_h_e_r _b_i_t_m_a_p _a_p_p_l_i_c_a_t_i_o_n_s _w_i_t_h _a _h_i_g_h_l_i_g_h_t_e_d _i_m_a_g_e _a_r_e_a_, _o_r _i_f _t_h_e_r_e _i_s _s_o_m_e_t_h_i_n_g _i_n _t_h_e _i_n_t_e_r_n_a_l _c_u_t _a_n_d _p_a_s_t_e _b_u_f_f_e_r _a_n_d _c_o_p_y _i_t _t_o _t_h_e _i_m_a_g_e_. _T_o _p_l_a_c_e _t_h_e _c_o_p_i_e_d _i_m_a_g_e_, _c_l_i_c_k _i_n _t_h_e _e_d_i_t_i_n_g _w_i_n_d_o_w _a_n_d _d_r_a_g _t_h_e _o_u_t_l_i_n_e_d _i_m_a_g_e _t_o _t_h_e _p_o_s_i_t_i_o_n _w_h_e_r_e _y_o_u _w_a_n_t _t_o _p_l_a_c_e _i_, _a_n_d _t_h_e_n _r_e_l_e_a_s_e _t_h_e _b_u_t_t_o_n_. _<_/_d_l_> _<_h_3 _i_d_=_"_C_U_T _A_N_D _P_A_S_T_E_"_> _C_U_T _A_N_D _P_A_S_T_E _<_/_h_3_> _B_i_t_m_a_p _s_u_p_p_o_r_t_s _t_w_o _c_u_t _a_n_d _p_a_s_t_e _m_e_c_h_a_n_i_s_m_s_; _t_h_e _i_n_t_e_r_n_a_l _c_u_t _a_n_d _p_a_s_t_e _a_n_d _t_h_e _g_l_o_b_a_l _X _s_e_l_e_c_t_i_o_n _c_u_t _a_n_d _p_a_s_t_e_. _T_h_e _i_n_t_e_r_n_a_l _c_u_t _a_n_d _p_a_s_t_e _i_s _u_s_e_d _w_h_e_n _e_x_e_c_u_t_i_n_g _c_o_p_y _a_n_d _m_o_v_e _d_r_a_w_i_n_g _c_o_m_m_a_n_d_s _a_n_d _a_l_s_o _c_u_t _a_n_d _c_o_p_y _c_o_m_m_a_n_d_s _f_r_o_m _t_h_e _e_d_i_t _m_e_n_u_. _T_h_e _g_l_o_b_a_l _X _s_e_l_e_c_t_i_o_n _c_u_t _a_n_d _p_a_s_t_e _i_s _u_s_e_d _w_h_e_n_e_v_e_r _t_h_e_r_e _i_s _a _h_i_g_h_l_i_g_h_t_e_d _a_r_e_a _o_f _a _b_i_t_m_a_p _i_m_a_g_e _d_i_s_p_l_a_y_e_d _a_n_y_w_h_e_r_e _o_n _t_h_e _s_c_r_e_e_n_. _T_o _c_o_p_y _a _p_a_r_t _o_f _i_m_a_g_e _f_r_o_m _a_n_o_t_h_e_r _b_i_t_m_a_p _e_d_i_t_o_r _s_i_m_p_l_y _h_i_g_h_l_i_g_h_t _t_h_e _d_e_s_i_r_e_d _a_r_e_a _b_y _u_s_i_n_g _t_h_e _M_a_r_k _c_o_m_m_a_n_d _o_r _p_r_e_s_s_i_n_g _t_h_e _s_h_i_f_t _k_e_y _a_n_d _d_r_a_g_g_i_n_g _t_h_e _a_r_e_a _w_i_t_h _t_h_e _l_e_f_t _m_o_u_s_e _b_u_t_t_o_n_. _W_h_e_n _t_h_e _s_e_l_e_c_t_e_d _a_r_e_a _b_e_c_o_m_e_s _h_i_g_h_l_i_g_h_t_e_d_, _a_n_y _o_t_h_e_r _a_p_p_l_i_c_a_t_i_o_n_s _(_s_u_c_h _a_s _x_t_e_r_m_, _e_t_c_._) _t_h_a_t _u_s_e _p_r_i_m_a_r_y _s_e_l_e_c_t_i_o_n _w_i_l_l _d_i_s_c_a_r_d _t_h_e_i_r _s_e_l_e_c_t_i_o_n _v_a_l_u_e_s _a_n_d _u_n_h_i_g_h_l_i_g_h_t _t_h_e _a_p_p_r_o_p_r_i_a_t_e _i_n_f_o_r_m_a_t_i_o_n_. _N_o_w_, _u_s_e _t_h_e _P_a_s_t_e _c_o_m_m_a_n_d _f_o_r _t_h_e _E_d_i_t _m_e_n_u _o_r _c_o_n_t_r_o_l _m_o_u_s_e _b_u_t_t_o_n _t_o _c_o_p_y _t_h_e _s_e_l_e_c_t_e_d _p_a_r_t _o_f _i_m_a_g_e _i_n_t_o _a_n_o_t_h_e_r _(_o_r _t_h_e _s_a_m_e_) _b_i_t_m_a_p _a_p_p_l_i_c_a_t_i_o_n_. _I_f _y_o_u _a_t_t_e_m_p_t _t_o _d_o _t_h_i_s _w_i_t_h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