Add c++ projects: template and mini-gimp. Add python dir with README.md. Add test_files.
34
cpp/.gitignore
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
syntax: glob
|
||||
|
||||
# Visual Studio generated files:
|
||||
GeneratedFiles/*
|
||||
Release/*
|
||||
Debug/*
|
||||
release/*
|
||||
debug/*
|
||||
ipch/*
|
||||
|
||||
# Build and relase directories:
|
||||
build/*
|
||||
build*/*
|
||||
|
||||
# Temporary files:
|
||||
vc100.pdb
|
||||
|
||||
Makefile
|
||||
Makefile.Release
|
||||
Makefile.Debug
|
||||
MySimpleGimp.pro.user
|
||||
MySimpleGimp.vcxproj.user
|
||||
MySimpleGimp.v11.suo
|
||||
MySimpleGimp.sdf
|
||||
gen/*
|
||||
MySimpleGimp.opensdf
|
||||
MySimpleGimp.vcxproj*
|
||||
syntax: regexp
|
||||
|
||||
# ui .h files. Auto generated by Qt on compile i.e. ui_histogram.h etc.
|
||||
ui_.+.h
|
||||
|
||||
# merge files
|
||||
.+.orig
|
22
cpp/mysimplegimp/MySimpleGimp.pro
Normal file
@ -0,0 +1,22 @@
|
||||
QT += core gui widgets
|
||||
|
||||
TARGET = MySimpleGimp
|
||||
TEMPLATE = app
|
||||
|
||||
INCLUDEPATH += src/
|
||||
|
||||
SOURCES += src/main.cpp
|
||||
|
||||
include(src/core/core.pri)
|
||||
include(src/gui/gui.pri)
|
||||
|
||||
RESOURCES += res/icons.qrc
|
||||
|
||||
CONFIG += c++11
|
||||
|
||||
gcc:QMAKE_CXXFLAGS += -Wno-ignored-qualifiers -Wno-unused-parameter -Wno-unused-variable -Wno-unused-but-set-variable -Wno-reorder
|
||||
|
||||
msvc {
|
||||
QMAKE_CXXFLAGS_WARN_ON -= -W3
|
||||
QMAKE_CXXFLAGS_WARN_ON += -W2
|
||||
}
|
4
cpp/mysimplegimp/images/1_black_pixel.pbm
Normal file
@ -0,0 +1,4 @@
|
||||
P4
|
||||
# CREATOR: GIMP PNM Filter Version 1.1
|
||||
1 1
|
||||
€
|
BIN
cpp/mysimplegimp/images/1_white_pixel.pbm
Normal file
6
cpp/mysimplegimp/images/baboon_512x512.pnm
Normal file
4
cpp/mysimplegimp/images/black_and_white_5x5.pbm
Normal file
@ -0,0 +1,4 @@
|
||||
P4
|
||||
# CREATOR: GIMP PNM Filter Version 1.1
|
||||
5 5
|
||||
€@ @
|
BIN
cpp/mysimplegimp/images/black_and_white_5x5.ppm
Normal file
1330
cpp/mysimplegimp/images/cat_375x500.pnm
Normal file
BIN
cpp/mysimplegimp/images/corner_test_10x10.pnm
Normal file
8810
cpp/mysimplegimp/images/fruits_512x480.pnm
Normal file
102
cpp/mysimplegimp/images/kitty_131x131.pgm
Normal file
42
cpp/mysimplegimp/images/lenna_154x154.pnm
Normal file
5
cpp/mysimplegimp/images/lenna_512x512.pgm
Normal file
542
cpp/mysimplegimp/images/lenna_512x512.pnm
Normal file
47
cpp/mysimplegimp/images/morph_279x200.pnm
Normal file
BIN
cpp/mysimplegimp/images/noisy_lenna_512x512.pnm
Normal file
BIN
cpp/mysimplegimp/images/rectangle_160x121.pnm
Normal file
BIN
cpp/mysimplegimp/images/rectangle_67x63.pnm
Normal file
4
cpp/mysimplegimp/images/rectangles_453x273.pnm
Normal file
BIN
cpp/mysimplegimp/images/rings_horizon_mapping_403x382.pnm
Normal file
60003
cpp/mysimplegimp/images/sample_ascii_200x300.pbm
Normal file
60004
cpp/mysimplegimp/images/sample_ascii_200x300.pgm
Normal file
180004
cpp/mysimplegimp/images/sample_ascii_200x300.ppm
Normal file
BIN
cpp/mysimplegimp/images/sample_bin_200x300.pbm
Normal file
29
cpp/mysimplegimp/images/sample_bin_200x300.pgm
Normal file
85
cpp/mysimplegimp/images/sample_bin_200x300.ppm
Normal file
6
cpp/mysimplegimp/images/shapes_261x221.pnm
Normal file
7
cpp/mysimplegimp/images/shapes_366x308.pnm
Normal file
BIN
cpp/mysimplegimp/images/starry_night_752x600.pnm
Normal file
4
cpp/mysimplegimp/images/stuff_640x480.pnm
Normal file
11
cpp/mysimplegimp/images/text1_728x460.pnm
Normal file
24
cpp/mysimplegimp/images/text2_532x730.pnm
Normal file
4
cpp/mysimplegimp/images/text3_490x354.pnm
Normal file
4
cpp/mysimplegimp/images/text4_700x445.pnm
Normal file
22
cpp/mysimplegimp/images/text5_636x439.pnm
Normal file
BIN
cpp/mysimplegimp/images/text_no_ocr_809x568.pnm
Normal file
77
cpp/mysimplegimp/images/triangle_256x256.pnm
Normal file
BIN
cpp/mysimplegimp/images/wall_normal_texture_618x475.pnm
Normal file
67
cpp/mysimplegimp/res/icons.qrc
Normal file
@ -0,0 +1,67 @@
|
||||
<RCC>
|
||||
<qresource prefix="/icons">
|
||||
<file>icons/chart_curve.png</file>
|
||||
<file>icons/chart_curve_add.png</file>
|
||||
<file>icons/chart_curve_delete.png</file>
|
||||
<file>icons/chart_line_edit.png</file>
|
||||
<file>icons/door_out.png</file>
|
||||
<file>icons/eye.png</file>
|
||||
<file>icons/eye_blue.png</file>
|
||||
<file>icons/eye_gray.png</file>
|
||||
<file>icons/eye_green.png</file>
|
||||
<file>icons/eye_red.png</file>
|
||||
<file>icons/folder.png</file>
|
||||
<file>icons/things_digital.png</file>
|
||||
<file>icons/transform_rotate_90.png</file>
|
||||
<file>icons/transform_rotate_180.png</file>
|
||||
<file>icons/transform_rotate_270.png</file>
|
||||
<file>icons/transform_rotate.png</file>
|
||||
<file>icons/zoom_in.png</file>
|
||||
<file>icons/zoom_out.png</file>
|
||||
<file>icons/chart_curve_error.png</file>
|
||||
<file>icons/chart_curve_go.png</file>
|
||||
<file>icons/draw_convolve.png</file>
|
||||
<file>icons/lightbulb.png</file>
|
||||
<file>icons/checkerboard.png</file>
|
||||
<file>icons/filter.png</file>
|
||||
<file>icons/flag_airfield_vehicle_safety.png</file>
|
||||
<file>icons/zoom_extend.png</file>
|
||||
<file>icons/zoom_last.png</file>
|
||||
<file>icons/convert_color_to_gray.png</file>
|
||||
<file>icons/edge_detection.png</file>
|
||||
<file>icons/personal_finance.png</file>
|
||||
<file>icons/witch.png</file>
|
||||
<file>icons/arrow_in.png</file>
|
||||
<file>icons/arrow_out.png</file>
|
||||
<file>icons/document_shapes.png</file>
|
||||
<file>icons/key_a.png</file>
|
||||
<file>icons/key_b.png</file>
|
||||
<file>icons/key_c.png</file>
|
||||
<file>icons/key_d.png</file>
|
||||
<file>icons/key_e.png</file>
|
||||
<file>icons/key_f.png</file>
|
||||
<file>icons/key_g.png</file>
|
||||
<file>icons/key_i.png</file>
|
||||
<file>icons/key_j.png</file>
|
||||
<file>icons/key_k.png</file>
|
||||
<file>icons/key_l.png</file>
|
||||
<file>icons/key_m.png</file>
|
||||
<file>icons/key_n.png</file>
|
||||
<file>icons/key_o.png</file>
|
||||
<file>icons/key_p.png</file>
|
||||
<file>icons/key_q.png</file>
|
||||
<file>icons/key_s.png</file>
|
||||
<file>icons/key_t.png</file>
|
||||
<file>icons/key_u.png</file>
|
||||
<file>icons/key_v.png</file>
|
||||
<file>icons/key_w.png</file>
|
||||
<file>icons/key_x.png</file>
|
||||
<file>icons/key_y.png</file>
|
||||
<file>icons/key_z.png</file>
|
||||
<file>icons/arrow_divide.png</file>
|
||||
<file>icons/arrow_join.png</file>
|
||||
<file>icons/universal_binary.png</file>
|
||||
<file>icons/videodisplay.png</file>
|
||||
<file>icons/key_r.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
BIN
cpp/mysimplegimp/res/icons/arrow_divide.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
cpp/mysimplegimp/res/icons/arrow_in.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
cpp/mysimplegimp/res/icons/arrow_join.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
cpp/mysimplegimp/res/icons/arrow_out.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
cpp/mysimplegimp/res/icons/chart_curve.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
cpp/mysimplegimp/res/icons/chart_curve_add.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
cpp/mysimplegimp/res/icons/chart_curve_delete.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
cpp/mysimplegimp/res/icons/chart_curve_error.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
cpp/mysimplegimp/res/icons/chart_curve_go.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
cpp/mysimplegimp/res/icons/chart_line_edit.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
cpp/mysimplegimp/res/icons/checkerboard.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
cpp/mysimplegimp/res/icons/convert_color_to_gray.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
cpp/mysimplegimp/res/icons/document_shapes.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
cpp/mysimplegimp/res/icons/door_out.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
cpp/mysimplegimp/res/icons/draw_convolve.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
cpp/mysimplegimp/res/icons/edge_detection.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
cpp/mysimplegimp/res/icons/eye.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
cpp/mysimplegimp/res/icons/eye_blue.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
cpp/mysimplegimp/res/icons/eye_gray.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
cpp/mysimplegimp/res/icons/eye_green.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
cpp/mysimplegimp/res/icons/eye_red.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
cpp/mysimplegimp/res/icons/filter.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
cpp/mysimplegimp/res/icons/flag_airfield_vehicle_safety.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
cpp/mysimplegimp/res/icons/folder.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
cpp/mysimplegimp/res/icons/key_a.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
cpp/mysimplegimp/res/icons/key_b.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
cpp/mysimplegimp/res/icons/key_c.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
cpp/mysimplegimp/res/icons/key_d.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
cpp/mysimplegimp/res/icons/key_e.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
cpp/mysimplegimp/res/icons/key_f.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
cpp/mysimplegimp/res/icons/key_g.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
cpp/mysimplegimp/res/icons/key_i.png
Normal file
After Width: | Height: | Size: 975 B |
BIN
cpp/mysimplegimp/res/icons/key_j.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
cpp/mysimplegimp/res/icons/key_k.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
cpp/mysimplegimp/res/icons/key_l.png
Normal file
After Width: | Height: | Size: 1002 B |
BIN
cpp/mysimplegimp/res/icons/key_m.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
cpp/mysimplegimp/res/icons/key_n.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
cpp/mysimplegimp/res/icons/key_o.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
cpp/mysimplegimp/res/icons/key_p.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
cpp/mysimplegimp/res/icons/key_q.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
cpp/mysimplegimp/res/icons/key_r.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
cpp/mysimplegimp/res/icons/key_s.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
cpp/mysimplegimp/res/icons/key_t.png
Normal file
After Width: | Height: | Size: 1023 B |
BIN
cpp/mysimplegimp/res/icons/key_u.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
cpp/mysimplegimp/res/icons/key_v.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
cpp/mysimplegimp/res/icons/key_w.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
cpp/mysimplegimp/res/icons/key_x.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
cpp/mysimplegimp/res/icons/key_y.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
cpp/mysimplegimp/res/icons/key_z.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
cpp/mysimplegimp/res/icons/layer_save.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
cpp/mysimplegimp/res/icons/lightbulb.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
cpp/mysimplegimp/res/icons/personal_finance.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
cpp/mysimplegimp/res/icons/picture.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
cpp/mysimplegimp/res/icons/picture_delete.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
cpp/mysimplegimp/res/icons/picture_save.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
cpp/mysimplegimp/res/icons/things_digital.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
cpp/mysimplegimp/res/icons/transform_rotate.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
cpp/mysimplegimp/res/icons/transform_rotate_180.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
cpp/mysimplegimp/res/icons/transform_rotate_270.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
cpp/mysimplegimp/res/icons/transform_rotate_90.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
cpp/mysimplegimp/res/icons/universal_binary.png
Normal file
After Width: | Height: | Size: 1.0 KiB |