|
by: Ralph Freshour |
last post by:
Is there anyway to crop .jpg images so that they are all of the same
width and height?
I use the following math to calculate the correct aspect ratio:
width / height == aspect ratio
so if I need a 268 w x 176 h I do this:
target width 268 / aspect ration == correct height
|
by: Duncan Smith |
last post by:
Hello,
Can anyone advise me how to crop an EPS image generated by dislin.
I can't figure out how to crop the image before generating it. Using PIL to
crop the generated image I get an IOError (apparently because I'm using
Windows). I could use other file formats, but I'm not too keen on the
results I'm getting from using e.g. .tif. Basically I need to copy
(publication quality) images created in dislin and paste them into word...
|
by: Jon Yeager |
last post by:
I need to display a bunch of pictures that are all of various dimensions
into a fixed dimension space, like MSN Messenger does with its user photos
in the chat windows.
Forcing image dimensions will warp the proportions, so that's no good.
Forcing one coordinate while leaving the other flexible will maintain
proportions, but the x,y values won't be consistant from picture to picture.
I considered the MSN Messenger method of bringing...
|
by: Paul E Collins |
last post by:
I need to load a bitmap image, crop it, and save it.
By cropping, I don't mean resizing - I mean reducing it to a fixed size
area.
Image img = Bitmap.FromFile("in.bmp");
// what goes here?
img.Save("out.bmp");
img.Dispose();
|
by: AmerS |
last post by:
hi, I have been trying to generate image patches for a training set but have not succeded yet. The only method i tried is cropping areas of the image and store the cropped images or patches as an array of bytes. The problem is, same patch gets stored thoughout the array, meaning its cropping the same area in the loop and the rectangle is not moving, could some one explain to me why,
Thank You.
heres the code:
MemoryStream stream = new...
|
|
by: kumari |
last post by:
Hi,
I am facing a problem with generation of thumbnail images in php.
The requirement is as follows: the client would provide the image url,
description, and content through a page.
and the same information will be stored in database. While displaying
all images i should take that url. and read it
byte by byte and pass to a curl function where in it crops and echos..
the cropped version of image.
|
by: jpuopolo |
last post by:
All:
I looked around and could not find a simple yet complete example of
cropping an image in C#. I had the problem of needing to shave off the
bottom-most 18 lines of a directory full of images. The following code
does this. I hope that this serves as a concise yet complete example
of how to tackle cropping an image.
---
Note that inputDireName and outputDirName have been set in the class
|
by: MUHAMMAD RAFIQUE |
last post by:
1-How to crop a image in Visual Basic
2- How to save the in the same Jpg file after Cropping
|
by: mcfly1204 |
last post by:
I have a photo cropping tool in place that fits my needs, with one exception. When a user uploads a high res. photo, it does not fit on the screen. I have a zoom feature that allows the image to fit on the screen, but then the user is cropping the downsized image and not the original. I would like to find a way to have the cropped area on the original image correspond with the cropped area on the zoomed image. Any thoughts?
I have...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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: 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.
|