|
by: Leif K-Brooks |
last post by:
I need to do some simple image editing (pretty much just scaling) in a
GPLed program. Unfortunatly, both of the Python libraries for image
editing that I found (gdmodule and PIL) are under the GPL-incompatible
original BSD license. Is there another library under a friendlier library?
|
by: Stephane D'Alu |
last post by:
Do you know if it is possible to have an image to be scalled
to a maximum width/height, but with keeping its aspect ratio.
The two ideas I had were:
- <img src="toto.jpg" style="max-width: 200px; max-height: 200px;"/>
but it doesn't keep the ratio
- <div style="width: 200px; height: 200px;"><img src="toto.jpg/></div>
but the image flow outside the div
|
by: Larry Serflaten |
last post by:
I am taking a 256 color bitmap from a file
and scaling it up X 16 to a 32bppPARGB bitmap
in memory. I copy that image to the screen.
After scaling, the edges of all the lines and
colors are blurred. I want the edges all
crisp, including inherent pixelation (jaggies).
Setting smoothing to none, or adjusting the
composting mode on the Graphics object still
|
by: federico.pelloni |
last post by:
As pycairo is one of the less pythonish things I ever saw, it went into
my mind to create some sort of objective wrapper over its python api
making graphic manipulation much more coherent to the python way.
As of the moment, I can:
- create (and reorder) multiple layers (this is not present in the
original cairo, but it is an easy addiction)
- draw, move and delete Rectangles, Lines and (simple) Texts
This is particularly useful when...
|
by: Michax |
last post by:
Hi,
I have problem with my py2exe. When I want to run my compiled exe, then
i get
error information like that:
Trackback (most recent call last):
File "mysql_gui.py", line 2 in ?
File "gtk\__int__.pyc", line 12, in ?
File "gtk\_gtk.pyc", line 12, in ?
|
|
by: =?Utf-8?B?SlIx?= |
last post by:
I would like to add text to an image. I have tried to use DrawString and it
works on some images but on others it is very very small. I am pretty sure
it has something to do with the size of the image but I have had varying
results on multiple images.
Is there anyway to make the text a fixed size on the image. Similar to
putting a date on a photograph.
|
by: Yofnik |
last post by:
Hello all,
I need your help. Internet Explorer 6+ has a registry setting (UseHR)
that will automatically scale images for displays with high resolution
(DPI).
I am building a web based monitoring application that has some very
detailed graphs and charts. I DO NOT want these images scaled under any
circumstances. In fact, my graphs look better on high DPI screens when
the are not scaled.
|
by: Tim Grove |
last post by:
Thanks for your advice Gerdus, but I have tried your suggestion with no
success. It has at least been beneficial to discover a tool which I did
not know about in 'Dependency Walker'; all dependencies appear okay.
HOWEVER (!!!) I HAVE JUST HAD SUCCESS IN LOADING THE DLL !!! In
searching through my 'C:WINDOWS\system32' directory I discovered a
subdirectory named 'rsvg' containing a number of .dll's associated with
that library, including...
|
by: flagos |
last post by:
Hi to all!
Any of you know if it's possible to use the Cairo graphics library in
a WIN32 c# application? I know there is a binding made for Mono but my
app will run on win32 so obviously I wont need Mono.
Any help will be appreciated. Thanks!
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|