-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b622d16
commit aa3cd97
Showing
29 changed files
with
1,727 additions
and
503 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
?package(photoquick):needs="x11" \ | ||
section="Applications/Graphics" \ | ||
title="PhotoQuick" \ | ||
longtitle="A simple handy image viewer and editor with some useful features" \ | ||
icon="/usr/share/pixmaps/photoquick.xpm" \ | ||
command="/usr/bin/photoquick" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
/* XPM */ | ||
static char *photoquick2[] = { | ||
/* columns rows colors chars-per-pixel */ | ||
"96 96 8 1 ", | ||
" c black", | ||
". c #FF7053", | ||
"X c #008B00", | ||
"o c orange", | ||
"O c yellow", | ||
"+ c blue", | ||
"@ c #96E9FF", | ||
"# c None", | ||
/* pixels */ | ||
"################################################################################################", | ||
"################################################################################################", | ||
"################################################################################################", | ||
"################################################################################################", | ||
"################################################################################################", | ||
"################################################################################################", | ||
" ", | ||
" ", | ||
" ", | ||
" @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ", | ||
" @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ", | ||
" @@@@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OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO+ ", | ||
" OOOXXXOOOXXXOOOXXXOOOXXXXOXXXXOOOOOOXXXXXXXXXOOOOOOXXXOOOXXXOOOOOOOOOXXXOOOOOOXXXOOOOOOOOO ", | ||
" OOOXXXOOOXXXOOOXXXOOOXXXOOOXXXOOOOOOXXXXXXXXXOOOOOOXXXOOOXXXOOOOOOOOOXXXOOOOOOXXXOOOOOOOOO ", | ||
" OXXXXXOOOXXXOOOXXXOOOXXXOOOXXXXXOOXXXXXXXXXXXXXOOXXXXXOOOXXXXOOOOOOOXXXXXOOOOOXXXOOOOOOOOO ", | ||
" XXXXXXOOOXXXXXXXXXXXXXXXOOOOXXXXXXXXXXOOOOOXXXXXXXXXOOOOXXXXXXOOOOOXXXXXXXOOOOXXXOOOOOXXXX ", | ||
" XXXXXOOOXXXXXXXXXXXXXXXOOOOOXXXXXXXXOOOOOOOXXXXXXXOOOOXXXXXXXOOOOOXXXXXXXOOOOXXXOOOOXXXX ", | ||
" XXXXOOOXXXXXXXXXXXXXXXOOOOOOXXXXXXOOOOOOOOOXXXXXXOOOXXXXXXXXXOOOXXXXXXXXXOOOXXXOOOXXXX ", | ||
" ", | ||
" ", | ||
" ", | ||
"################################################################################################", | ||
"################################################################################################", | ||
"################################################################################################", | ||
"################################################################################################", | ||
"################################################################################################", | ||
"################################################################################################", | ||
"################################################################################################", | ||
"################################################################################################", | ||
"################################################################################################", | ||
"################################################################################################", | ||
"################################################################################################", | ||
"################################################################################################", | ||
"################################################################################################", | ||
"################################################################################################", | ||
"################################################################################################", | ||
"################################################################################################", | ||
"################################################################################################", | ||
"################################################################################################", | ||
"################################################################################################", | ||
"################################################################################################", | ||
"################################################################################################" | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
[Desktop Entry] | ||
Version=1.0 | ||
Type=Application | ||
Encoding=UTF-8 | ||
Name=PhotoQuick | ||
Comment=A simple handy image viewer and editor with some useful features | ||
Icon=photoquick | ||
Exec=photoquick %f | ||
Categories=Graphics; | ||
StartupNotify=false | ||
Categories=Graphics;2DGraphics;RasterGraphics;Qt; | ||
Terminal=false | ||
StartupNotify=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,36 @@ | ||
#pragma once | ||
#include <QTimer> | ||
#include <QEventLoop> | ||
#include <QFile> | ||
#include <QBuffer> | ||
#include <QTransform> | ||
#include <QIcon> | ||
#include <QImageReader> | ||
#include <QDesktopServices> | ||
#include <QImage> | ||
#include <QSystemTrayIcon> | ||
#include <QDebug> | ||
#include <cmath> | ||
#include <unistd.h> // dup() | ||
#include "exif.h" | ||
|
||
#ifndef __PHOTOQUICK_COMMON | ||
#define __PHOTOQUICK_COMMON | ||
|
||
#define PROG_NAME "PhotoQuick" | ||
#define PROG_VERSION "4.14.1" | ||
#define COPYRIGHT_YEAR "2017-2021" | ||
#define AUTHOR_NAME "Arindam Chaudhuri" | ||
#define AUTHOR_EMAIL "[email protected]" | ||
#define PROJ_RELEASE "https://github.com/ksharindam/photoquick/releases" | ||
|
||
// check if armhf architecture, if not then it is assumed to be x86 | ||
#ifdef __arm__ | ||
#define ARCH "armhf" | ||
//#elif __x86_64__ | ||
#else | ||
#define ARCH "x86_64" | ||
#endif | ||
|
||
#define MIN(a,b) ({ __typeof__ (a) _a = (a); \ | ||
__typeof__ (b) _b = (b); \ | ||
|
@@ -110,11 +130,6 @@ enum | |
}; | ||
#endif | ||
|
||
int SelectChannelPixel(QRgb pix, int channel); | ||
|
||
// check if armhf architecture, if not then it is assumed to be x86 | ||
#ifdef __arm__ | ||
#define ARCH "armhf" | ||
//#elif __x86_64__ | ||
#else | ||
#define ARCH "x86_64" | ||
#endif | ||
#endif /* __PHOTOQUICK_COMMON */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.