Giter Site home page Giter Site logo

gimp-deskew-plugin's People

Contributors

albfan avatar mairin avatar prokoudine avatar slessard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gimp-deskew-plugin's Issues

Result unchanged from input image.

Sample image: https://imgur.com/a/PU2K3g8

GIMP 2.8.22 (also an earlier version of 2.8.x, but don't remember which)

EDIT: Windows 10 version 1803 build 17134.345

I copied the 1.1 EXE and two DLLs to the /lib/gimp/2.0/plugin folder and restarted Gimp.

The deskew option is available in the Layer->Transform menu. When selected a progress bar progresses and a Transform Layer operation shows in the Undo History. However, the image is unchanged.

I'm not sure if this is a bug, or I'm doing something wrong, or it can't handle black backgrounds (doesn't seem to work on white, either), etc..

Doesnt work with Gimp 2.10

This plugin is awesome. is there any chance to get it working for Gimp 2.10?
Would be really appreciated.

Thanks again for the awesome work.

Issues with automake-1.16 and gimp-2.10

I tried installing it in ubuntu 20.04 according to the instructions. At first, it complained about some dependencies:

$ ./autogen.sh

I am testing that you have the required versions of autoconf,
automake, glib-gettextize and intltoolize...

checking for autoconf >= 2.54 ... 
  You must have autoconf installed to compile GIMP Deskew Plug-In.
  Download the appropriate package for your distribution,
  or get the source tarball at ftp://ftp.gnu.org/pub/gnu/
checking for automake >= 1.6 ... 
  You must have automake 1.6 or newer installed to compile GIMP Deskew Plug-In.
  Download the appropriate package for your distribution,
  or get the source tarball at ftp://ftp.gnu.org/pub/gnu/automake/
checking for glib-gettextize >= 2.0.0 ... 
  You must have glib-gettextize installed to compile GIMP Deskew Plug-In.
  glib-gettextize is part of glib-2.0, so you should already
  have it. Make sure it is in your PATH.
checking for intltool >= 0.17 ... 
  You must have intltool installed to compile GIMP Deskew Plug-In.
  Get the latest version from
  ftp://ftp.gnome.org/pub/GNOME/sources/intltool/

Please install/upgrade the missing tools and call me again.

So I installed them by using:

$ sudo apt install autoconf automake libglib2.0-dev intltool

I ran the autogen.sh again, but it still complains about automake, despite having version 1:1.16.1-4ubuntu6 installed.

 $ ./autogen.sh

I am testing that you have the required versions of autoconf,
automake, glib-gettextize and intltoolize...

checking for autoconf >= 2.54 ... 1
yes (version 2.69)
checking for automake >= 1.6 ... 
  You must have automake 1.6 or newer installed to compile GIMP Deskew Plug-In.
  Download the appropriate package for your distribution,
  or get the source tarball at ftp://ftp.gnu.org/pub/gnu/automake/
checking for glib-gettextize >= 2.0.0 ... 1
yes (version 2.64.3)
checking for intltool >= 0.17 ... 1
yes (version 0.51.0)

Please install/upgrade the missing tools and call me again.

So I assumed the script is not prepared to detect automake 1.16. I edited it to add the option for that version

elif (automake-1.16 --version) < /dev/null > /dev/null 2>&1; then
   AUTOMAKE=automake-1.16
   ACLOCAL=aclocal-1.16

But now it ends with this error:

(...)
checking for GIMP... no
configure: error: Package requirements (gimp-2.0 >= 2.2.0 gimpui-2.0 >= 2.2.0) were not met:

No package 'gimp-2.0' found
No package 'gimpui-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GIMP_CFLAGS
and GIMP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Configure failed or did not finish!

I guess it expects gimp-2.0, but gimp-2.1 is installed in my system.

Any idea?

Install on user dir

I found this trick from BIMP plugin to detect user dir:

SYSTEM_INSTALL_DIR = $(shell gimptool-2.0 --dry-run --install-admin-bin ./bin/bimp | sed 's/cp \S* \(\S*\)/\1/'|tr -d [\'])
USER_INSTALL_DIR = $(shell gimptool-2.0 --dry-run --install-bin ./bin/bimp | sed 's/cp \S* \(\S*\)/\1/'|tr -d [\'])

so we can use here like:

$ gimptool-2.0 --dry-run --install-bin deskew | sed 's/cp \S* \(\S*\)/\1/'|tr -d [\']
/home/alberto/.config/GIMP/2.10/plug-ins/deskew/
$ gimptool-2.0 --dry-run --install-admin-bin deskew | sed 's/cp \S* \(\S*\)/\1/'|tr -d [\']
/usr/lib64/gimp/2.0/plug-ins/

Do you think this can be added to autotools scripts? like --enable-local-install or similar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.