Skip to content

Latest commit

 

History

History
46 lines (42 loc) · 4.1 KB

README.md

File metadata and controls

46 lines (42 loc) · 4.1 KB

Photo-Gallery with Image editing tools

___   _  _ ____ ___ ____    ____ ____  _    _    ____ ____ _   _ 
| __] |__| |  |  |  |  |    | __ | __| |    |    |___ |__/  \_/ 
|     |  | |__|  |  |__|    |__] |   | |___ |___ |___ |  \   |  
        00      @                                                            +                                ****
        00     @@                                                            *                              ********
      ******  @@                                                            ***                            **********
     ********@@                                                            *****                          ************
     ********@                                                            ********                        ************
    **********                                                          @  ******  @                       **********
   ************                                                           *******                           ********
   +          +                                                          **********                          ******
   +          +                   ___      ___                         **************                         .  .
   +          +                  (o o)    (o o)                      @****o******o****@                       .  .
   +          +                 (  V  )  (  V  )                          ********                          ++++++++..
   +          +                /--m-m-  /--m-m-                          **********                         ++++++++  .
   +          +                                                        *o***********o*                      ++++++++   .
   ++++++++++++                                                      @****o*******o****@                    ++++++++   .
   ++++++++++++                                                            #######                                    .
        ++                                                                 #######                                  .
        ++                                                                 #######                                 .
       ++++                                                                #######                                .
      ++++++                                                               #######                    ............+......
     ++++++++   

This is a group project for the course Data Structures and Algorithms 1 Laboratory (CE 2106).
Aim of the project is to implement a photo gallery software and simulate the working of some image editing tools like crop, rotate and flip. Programming language used: C++

Images are created by initializing matrices with different characters. Each image is of size 20 rows x 20 columns. These are saved in the ImageMatrix.h header file. Some examples of the images created by us are displayed above.

Every object of Class Image has attributes like the name, size, date of image, rows, columns of image and a character matrix.
Functions that can be performed on each image under the edit menu are:
1. Cropping     2. Left rotation (90 deg)     3. Right rotation (90 deg)     4. Flip (mirror image)     5. Rename image

The Gallery class is a doubly circular linked list. All the image objects are inserted in it, at the beginning of the program.
Functions of the Gallery class are:
1. View previous image     2. View next image     3. Edit image     4. View image details
5. Make a copy of the image     6. Delete image

The latest added image appears first when the Gallery is opened by the users. They can naviagte through all images by using the view previous or next options. They can choose to edit the currently displayed image, wherein they can perform multiple editing operations on it. All the changes get saved automatically. Users can also view the details of currently displayed image, make a copy of it or delete it.