Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 16 Oct 2018, 20:58
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
imagemagick 6.6.6-6 and 6.6.6-7
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [33 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
miriam


Joined: 06 Dec 2006
Posts: 364
Location: Queensland, Australia

PostPosted: Fri 12 Jan 2018, 21:51    Post subject:  

Cool, thanks. Smile There's no urgency. It just sounded like something I would use often. (I hate pdf format.)
_________________
A life! Cool! Where can I download one of those from?
Back to top
View user's profile Send private message Visit poster's website 
slavvo67

Joined: 12 Oct 2012
Posts: 1570
Location: The other Mr. 305

PostPosted: Fri 12 Jan 2018, 21:55    Post subject:  

[Wrong link was posted here. See next post]

Don't ask me what's in Imagemagick1, Imagemagick2 and Imagemagick6.8.6..(aka Imagemagick3). It's been too long. I think Imagemagick2 has the main program.

PDFChuck does use YAD so if you have that installed, it should work just by clicking on it. The pet puts a desktop icon on your screen. Program is actually in /root/my-applications/bin

Test to see if Imagemagick works first by going to terminal and type mogrify.

Added Python-2.7.11 with what I believe are all needed dependencies. Not tested so no guarantees here.

Last edited by slavvo67 on Fri 12 Jan 2018, 22:50; edited 1 time in total
Back to top
View user's profile Send private message 
slavvo67

Joined: 12 Oct 2012
Posts: 1570
Location: The other Mr. 305

PostPosted: Fri 12 Jan 2018, 22:49    Post subject: Let's try this again. This folder!!!  

https://drive.google.com/drive/folders/10c4X1eBVXAH709q4i1nk6k8vDRhP_GuF?usp=sharing
Back to top
View user's profile Send private message 
mikeslr


Joined: 16 Jun 2008
Posts: 2685
Location: 500 seconds from Sol

PostPosted: Fri 12 Jan 2018, 23:29    Post subject: Thanks  

Thanks slavvo67 for the pets.

And thanks miriam for the interesting information and pointers.

mikesLr
Back to top
View user's profile Send private message 
slavvo67

Joined: 12 Oct 2012
Posts: 1570
Location: The other Mr. 305

PostPosted: Fri 12 Jan 2018, 23:30    Post subject:  

Miriam:

I don't want to get off topic but the best way I've found to really handle the difficult pdf's is through Libre Writer or Xournal. Xournal is truly a sleeper and well underrated when it comes to PDF's. BTW - RU Xerus comes with Xournal pre-installed too! Very Happy

The converter in PDFchuck is more for batch converting like txt to pdf and the like.
Back to top
View user's profile Send private message 
slavvo67

Joined: 12 Oct 2012
Posts: 1570
Location: The other Mr. 305

PostPosted: Fri 12 Jan 2018, 23:41    Post subject:  

Mike,

Let me know if you get it working or not.

Thanks,

Slavvo67
Back to top
View user's profile Send private message 
miriam


Joined: 06 Dec 2006
Posts: 364
Location: Queensland, Australia

PostPosted: Sat 13 Jan 2018, 02:44    Post subject:  

slavvo67, thanks for the pets. Also thanks for the information. I'd never heard of Xournal. I'll try LibreOffice for pdfs too.

Currently I use Calibre to convert them to something more usable, or as a last resort I extract the text with pdftotext and any images with pdfimages. If the pdf has any vector images I have to make a screengrab of that page, crop to just the image and embed that in whatever I construct (usually either html or epub).

mikeslr, no worries. I can't help evangelising about ImageMagick. Smile I use it often. It's a life saver for me.

_________________
A life! Cool! Where can I download one of those from?
Back to top
View user's profile Send private message Visit poster's website 
mikeslr


Joined: 16 Jun 2008
Posts: 2685
Location: 500 seconds from Sol

PostPosted: Mon 15 Jan 2018, 13:06    Post subject: ImageMagick-6.8.6_10-x86_64-1.pet won't run in Xenialpup64
Subject description: Solved
 

Hi slavvo67,

Finally had time to begin exploring the pets you provided. I started with ImageMagick-6.8.6_10-x86_64-1.pet as mostly I run Xenialpup64.

Installed, then ran mogrify via terminal. It reported that libMagickCore-6.Q16.so.1 was missing. Easily solved by:

ln -s libMagickCore-6.Q16.so.1.0.0 libMagickCore-6.Q16.so.1

Similarly, ln -s libMagickWand-6.Q16.so.1.0.0 libMagickWand-6.Q16.so.1 cleared up that absence.

But then it reported libIlmImf.so.7 wasn't found. PPM, Ubuntu Repo Search and pkgs.org had nothing relevant, Any ideas?

I'll try out the other pets soon,

Edit: Solution posted further down.

mikesLr

Last edited by mikeslr on Fri 19 Jan 2018, 14:17; edited 1 time in total
Back to top
View user's profile Send private message 
miriam


Joined: 06 Dec 2006
Posts: 364
Location: Queensland, Australia

PostPosted: Mon 15 Jan 2018, 17:47    Post subject:  

libIlmImf.so.7 comes from OpenEXR
http://www.openexr.com/

OpenEXR is a high dynamic range (HDR) raster file format, released as an open standard along with a set of software tools created by Industrial Light and Magic, under a free software license similar to the BSD license.

High dynamic range refers to the way lighting in a bright area of a picture normally blows out if you try to show the dimmer parts, and if you try to show the brighter parts then the dimmer parts go to black. HDR lets you keep information from both, optionally displaying one or the other, or even manipulating gamma to display both. at once.

I have libIlmImf.so.6
I don't know what package brought it in.

I'm attaching it in case it is a help. Be aware though, that version number changes, like from 6 to 7 can mean some functions are in one that are not in the other. It's probably not going to affect normal use much though.
libIlmImf.so.6.gz
Description 
gz

 Download 
Filename  libIlmImf.so.6.gz 
Filesize  233.5 KB 
Downloaded  99 Time(s) 

_________________
A life! Cool! Where can I download one of those from?

Last edited by miriam on Mon 15 Jan 2018, 18:00; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
miriam


Joined: 06 Dec 2006
Posts: 364
Location: Queensland, Australia

PostPosted: Mon 15 Jan 2018, 17:59    Post subject:  

Oh! Just occurred to me, my machine is 32-bit, not 64-bit, so that might be a problem... try it and see.

Alternatively you could download the OpenEXR code from their website (http://www.openexr.com/downloads.html) and compile it if you have your Puppy devx file installed. It's usually pretty easy.

Unarchive the tar.gz file to a convenient place (I have a "compile" folder where I like to do this kind of thing). Open a command line in that place. Then give these commands:

Code:
./configure --prefix=/usr
make
make install

_________________
A life! Cool! Where can I download one of those from?
Back to top
View user's profile Send private message Visit poster's website 
miriam


Joined: 06 Dec 2006
Posts: 364
Location: Queensland, Australia

PostPosted: Mon 15 Jan 2018, 18:19    Post subject:  

Hmmm... I just checked my version of ImageMagick. It is an older one, 6.6.8-1 (2016-10-29) but it mentions that it features HDRI, so perhaps ImageMagick contained the libIlmImf.so file after all.

Maybe you could get it from one of the Ubuntu or Debian archives:
http://archive.ubuntu.com/ubuntu/pool/universe/i/imagemagick/
http://ftp.debian.org/debian/pool/main/i/imagemagick/

The archive lists are a bit confusing. Take your time and read the names carefully. They are named according to package, version, and kind of machine they are made for.

_________________
A life! Cool! Where can I download one of those from?
Back to top
View user's profile Send private message Visit poster's website 
mikeslr


Joined: 16 Jun 2008
Posts: 2685
Location: 500 seconds from Sol

PostPosted: Mon 15 Jan 2018, 20:08    Post subject:  

Hi miriam,

OpenEXR was a nice hint. Sought, found, downloaded OpenEXR-libs-1.7.1-7.el7.x86_64.rpm and decompressed it. Then discovered other dependencies that I think will be met by Ubuntus libilmbase12_2.2.0-5_amd64.deb. The libs within are at the so.12 level, but creating so.7 symlinks seems to satisfy. My guess is that all included libs + symlinks will be necessary. But I'm adding them one at a time. Don't want to create a pet including unnecessary libs,

FYI, using lxterminal to create several symlinks is a breeze. I write the first one in geany, then cut and paste into lxterminal opened to /usr/lib and press return. For example:

ln -s libImath-2_2.so.12.0.0 libImath.so.7

Pressing the up-arrow duplicates that line with the cursor at the end. I can then backspace, delete and just type what needs to be changed and press return again to create command:

ln -s libHalf.so.12.0.0 libHalf.so.7

or, if more complicated, do a draft in geany, then cut & paste into the terminal, for example

ln -s liblexMath-2_2.so.12.0.0 libIexMath.so.7


An interesting sidenote. The imagemagick-xxx-x86_64.pet includes a symlink named /lib64 which is both within and to its parent /lib. Xenialpup64 actually follows that but can't follow a similar symlink within and to /lib named x86_64-linux-gnu. The latter is where 64-bit libraries are often placed when applications are built for Ubuntu. Xenialpup64 can't even 'find' the latter.

For reasons which would bore you, I've been up too long. Will take a brake and return to this project tomorrow.

mikesLr
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 12798
Location: Gatineau (Qc), Canada

PostPosted: Tue 16 Jan 2018, 01:24    Post subject:  

Hi gals and guys.

In case you do not know, the netpbm suite of image utilities can do most if not all
of what imagemagick does with less complication and less disk space occupation.

You will find in this post a complete list of the netpbm utilities (as of Dec. 5, 2017).

Interested Puppyists may find a recent copy here in pet archive format of both
the executables and the documentation.

BFN.

_________________
musher0
~~~~~~~~~~
Fidèle elle commença, ainsi elle restera. (Prov. canadien) /
Faithful she began, so will she stay. (Canadian prov.)
Back to top
View user's profile Send private message 
miriam


Joined: 06 Dec 2006
Posts: 364
Location: Queensland, Australia

PostPosted: Tue 16 Jan 2018, 04:18    Post subject:  

musher0, yes. The netpbm suite is a great old mainstay. It can do some things that nothing else I've found can do, such as converting Amiga icon .info files into .png images. Netpbm is wonderful.

Another nice use of netpbm is the very simple text format of some of its old image formats, such as .ppm format. This lets you write programs that create pixel output as text values. Then it can be encoded to another format such as mjpeg for compilation into a video, like in this cool experiment:
http://nullprogram.com/blog/2017/07/02/

I'm attempting something like this, but manipulating galaxies as pixels in an experiment playing with some thoughts about gravity. I'll almost certainly be using netpbm and its .ppm format in this way.

However ImageMagick has a lot of nice things netpbm doesn't have, such as the ability to list fonts' proper names, the ability to convert hundreds of files with a single command (that might be possible using the shell's for/do loop command, but ImageMagick does it right there in its own command). ImageMagick also can automatically number output files (flower001.jpg, flower002.jpg, flower003.jpg... etc)

ImageMagick also lets you return lots of information about files. I use that when hand-constructing quick HTML pages. I've set up a simple command in the context menu for images, that, when selected, feeds the image file to
Code:
identify -format '<img src="%f" width="%w" height="%h" title="%f">'
and then my script puts it into the clipboard using
Code:
xclip -selection c
I then CTRL-V paste it into the text editor and I have the image tag all constructed.

Another nice thing about ImageMagick is that it has its own display program which can display oodles of formats. My absolute favorite display program is "gqview" but when I encounter a format it can't show, then ImageMagick's "display" program is the one I use.

But ImageMagick lets you do much, much more too. You can even tell it to sense where the edges of an image are and let it decide where to crop or otherwise edit an image.

Both packages have great advantages. I also use Gimp lots, and Inkscape too.

_________________
A life! Cool! Where can I download one of those from?
Back to top
View user's profile Send private message Visit poster's website 
slavvo67

Joined: 12 Oct 2012
Posts: 1570
Location: The other Mr. 305

PostPosted: Tue 16 Jan 2018, 18:25    Post subject:  

Mike:

All of the Imagemagick files I uploaded are needed. Some are dependencies renamed for RU Xerus purposes but I don't remember what I have in them. That's part of the problem with combining pets and debs into one package.

I noticed the Python package that I uploaded doesn't have a python link so in /usr/bin you need to right click on Python2.7 and make a link named only Python. Keep it in the same place.

Hopefully that helps.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 3 [33 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0602s ][ Queries: 15 (0.0082s) ][ GZIP on ]