Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 19 results for
python-magick
- Page 1
Out of the blue, a project requires Python...
Programming
Software Development
17 Years Ago
by tefflox
… does not allow a PHP script to execute the Image
Magick
commands required to resize the photos. So I'm asking… someone for help. I need a barebones
python
script with functionality to grab the uploaded photos, mogrify them…
Re: Out of the blue, a project requires Python...
Programming
Software Development
17 Years Ago
by tefflox
…. the tech support rep did say that "Perl or
Python
or Bash (not recommended)" will work. Thanks! [QUOTE=jrcagle… have /usr/bin/mogrify available? Try this: Then, [code="
Python
"] import os os.execl("/usr/bin/mogrify"…
Re: Out of the blue, a project requires Python...
Programming
Software Development
17 Years Ago
by jrcagle
… have /usr/bin/mogrify available? Try this: Then, [code="
Python
"] import os os.execl("/usr/bin/mogrify"…
Re: Python: 'reflect' like in java?
Programming
Software Development
13 Years Ago
by TrustyTony
… do not want variable used from other modules or for '
magick
methods' name, like __init__ method in classes. The idiom for…
Re: Out of the blue, a project requires Python...
Programming
Software Development
17 Years Ago
by jrcagle
More details, please. Here's what I think I understand: * You want the script to download the photos, * Execute the mogrify command, and * rename and print a validation page. So: where are the photos currently? At a URL? on the user's HDD? You want to rename the photos? Print a validation page on clientside? Jeff
Re: Out of the blue, a project requires Python...
Programming
Software Development
17 Years Ago
by tefflox
please view my progress at [URL="http://tefflox.net/clients/superiorminitrucks/admin"]tefflox.net/clients/superiorminitrucks/admin[/URL], a standard upload and validation page. right now I am forced to ask the client to use shrinkpictures.com, and then use the admin page to upload them. right now the problem I face is in the …
Re: Out of the blue, a project requires Python...
Programming
Software Development
17 Years Ago
by tefflox
is there a way that i can run this code from within, or sourced from, the php page. i worked almost all day on the php page... yes, /usr/bin/mogrify and /usr/bin/convert are available at the command line on the dreamhost server.
Re: Out of the blue, a project requires Python...
Programming
Software Development
17 Years Ago
by jrcagle
Over my paygrade on PHP, I'm sorry.
Re: Resize an image with PythonMagick
Programming
Software Development
11 Years Ago
by Gribouillis
…I was not able to install pythonmagick for
python
3 in linux mint (as of November …example I tried a ctypes wrapper [magickpy](https://pypi.
python
.org/pypi/MagickPy), installed using `pip3` (package…w) new_height = int(h * factor) info =
Magick
.ExceptionInfo() filter =
Magick
.FilterTypes.BesselFilter blur = 1.0 img2 = img.…
Resize an image with PythonMagick
Programming
Software Development
11 Years Ago
by Gribouillis
A simple way to resize an image programmatically, using the PythonMagick module. This module is a
python
port of the [the
magick
++ library](http://www.imagemagick.org/
Magick
++/).
Re: Resize an image with PythonMagick
Programming
Software Development
11 Years Ago
by Gribouillis
…(filename = out_name) In mint, install module wand with pip3 for
python
3 or with package
python
-wand for
python
2.
Re: Resize an image with PythonMagick
Programming
Software Development
11 Years Ago
by Gribouillis
Not
python
, but related to the topic, the [converseen](http://converseen.sourceforge.net/) GUI program converts images manually with imagemagick.
Re: Resize an image with PythonMagick
Programming
Software Development
11 Years Ago
by arronlee
Is this work on C sharp? I have only tried to customize the size of images <URL SNIPPED> using the code below: using System.IO; using System.Drawing.Printing; using Yiigo.Imaging; using Yiigo.Imaging.Processing; using YiigoImage Image = new YiigoImage(); { string ImageID = (@"C:\ yiigo_example.jpg &…
Re: Resize an image with PythonMagick
Programming
Software Development
11 Years Ago
by Gribouillis
@arronlee: same remark as [here](http://www.daniweb.com/software-development/java/threads/451714/barcode-program#post1990804) . Avoid commercial links.
Re: Resize an image with PythonMagick
Programming
Software Development
11 Years Ago
by Nils_1
Dont like that there is no source code comment pointing out where to get it and that there is no info if it supports py3. Cant use it, downvote therefore.
Re: Resize an image with PythonMagick
Programming
Software Development
11 Years Ago
by Nils_1
Thanks, Gribouillis, my downvote was a bit harsh, have undone it :-)
Re: Resize an image with PythonMagick
Programming
Software Development
11 Years Ago
by Nils_1
Thanks also for the link to the [gohlke](http://www.lfd.uci.edu/~gohlke/pythonlibs/) site
Re: Resize an image with PythonMagick
Programming
Software Development
11 Years Ago
by Gribouillis
You're welcome.
Re: Resize an image with PythonMagick
Programming
Software Development
11 Years Ago
by codehimn
import PythonMagick img = PythonMagick.Image("elixir.png") img.resize("20%") img.write('out_name.JPG') # this works for me :)
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC