Solved

Perl Tk: How to display a picture in different sizes ?

Posted on 2006-07-01
4
232 Views
Last Modified: 2006-11-18
Hello,

in order to have an attractive Gui I am working a lot with pictures.
Is there a way to enable the Gui to display pictures in different
degrees of magnification (like many applications allow viewing
documents e.g. at 150% of the original size) ?

My aim is to let the user see the same thing regardless which size
the application window has ( sounds a bit ambitious ).

I heard about the magic capabilities of ImageMagic but as far as
I know is it necessary to have a c-compiler which I don´t have
and would have problems using.

Many thanks,
petece
0
Comment
Question by:petece
4 Comments
 
LVL 17

Expert Comment

by:mjcoyne
ID: 17024471
I don't know Perl/Tk, but I have used ImageMagick.  Don't give up on it yet, you don't need a compiler -- there are precompiled binaries available (see http://www.imagemagick.org/script/binary-releases.php).
0
 

Author Comment

by:petece
ID: 17173755
Well, I discovered something which appears to show the a possible way:
http://herrmanns-stern.de/software/etc/tkjpegZoom
0
 
LVL 1

Accepted Solution

by:
DarthMod earned 0 total points
ID: 17200367
PAQed with points refunded (500)

DarthMod
Community Support Moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Reading fields from the text file. 4 92
Perl 101 11 72
Is it possible to get a piece of info in a line from a big text file with perl? 7 69
add a syntax to a csv file 8 98
On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now