abh - HTMLify profile

abh
523 Files
134561 Views
Latest files of /abh/learning/c/BPPL/Phase-3/image-filter
#include "image.h"
#ifndef FILTER_H
#define FILTER_H
typedef struct {
char *name;
int argc;
#ifndef FILTER_H
#define FILTER_H
typedef struct {
char *name;
int argc;
#include <stdbool.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#ifndef IMAGE_H
#define IMAGE_H
typedef struct {
unsigned char r;
#include <gdk-pixbuf/gdk-pixbuf.h>
#ifndef IMAGE_H
#define IMAGE_H
typedef struct {
unsigned char r;
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <stdbool.h>
#include <stdlib.h>
#include "image.h"
Image *load_image(const char *image_path) {
GError *error = NULL;
GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file(image_path, &error);
#include <stdbool.h>
#include <stdlib.h>
#include "image.h"
Image *load_image(const char *image_path) {
GError *error = NULL;
GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file(image_path, &error);
#include "string.h"
#include "filter.h"
// filters
Image *grayscale(const Image *image) {
Image *filtered = image_new(image->width, image->height);
#include "filter.h"
// filters
Image *grayscale(const Image *image) {
Image *filtered = image_new(image->width, image->height);
#include <gtk/gtk.h>
#ifndef GUI_H
#define GUI_H
int gui();
#endif
#ifndef GUI_H
#define GUI_H
int gui();
#endif
#include <gdk/gdk.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include "image.h"
#include "filter.h"
#include "gui.h"
extern char *image_path_1;
extern char *image_path_2;
#include <gdk-pixbuf/gdk-pixbuf.h>
#include "image.h"
#include "filter.h"
#include "gui.h"
extern char *image_path_1;
extern char *image_path_2;