Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 177 results for
resizeimage
- Page 1
Re: Couple of problems (Statepattern/Timer/JButton)
Programming
Software Development
13 Years Ago
by emclondon
…public myImage() { _temp = new ImageIcon("default.jpg"); _temp =
resizeImage
(_temp); this.setIcon(_temp); } /** * The method sets an image on…* @return _newIcon resized image of size 50x38 pixels */ private ImageIcon
resizeImage
(ImageIcon _myImage) { Image _img = _myImage.getImage(); Image _newimg = …
big file upload in php problem
Programming
Web Development
12 Years Ago
by Awah Mohamed
…, crop) $resizeObj ->
resizeImage
(65, 65, 'exact'); $resizeObj2 ->
resizeImage
(500, 500, 'exact'); $resizeObj3 ->
resizeImage
(1000, 700, 'exact'); $…resizeObj4 ->
resizeImage
(200, 200, 'exact'); $md5pic…
Re: big file upload in php problem
Programming
Web Development
12 Years Ago
by Jaklins
…, crop) $resizeObj ->
resizeImage
(65, 65, 'exact'); $resizeObj2 ->
resizeImage
(500, 500, 'exact'); $resizeObj3 ->
resizeImage
(1000, 700, 'exact'); $…resizeObj4 ->
resizeImage
(200, 200, 'exact'); $md5pic…
Couple of problems (Statepattern/Timer/JButton)
Programming
Software Development
13 Years Ago
by emclondon
… class Light extends JLabel { public Light() { this.setIcon(
resizeImage
(new ImageIcon("wait.jpg"))); } public void flipImage(String… _state) { this.setIcon(
resizeImage
(new ImageIcon(_state+".jpg"))); } private ImageIcon
resizeImage
(ImageIcon _myImage) { Image _img = …
Problems with photo management page
Programming
Web Development
9 Years Ago
by janicemurby
… FUNCTIONS # # You do not need to alter these functions # ########################################################################################################## function
resizeImage
($image,$width,$height,$scale) { list($imagewidth, $imageheight, $imageType) = getimagesize($image…
Photo Gallery
Programming
Web Development
15 Years Ago
by TheNational22
… $thmb_width = 120; $thmb_height = 80; function
resizeImage
($originalImage,$toWidth,$toHeight){ // Get the original geometry and…new one if (!file_exists($thmbFile)){ imagejpeg(
resizeImage
($file,$thmb_width,$thmb_height) ,$thmbFile,80);…
Re: Photo Gallery
Programming
Web Development
15 Years Ago
by TheNational22
… "G:/xampp/xampp/htdocs/"; function
resizeImage
($originalImage,$toWidth,$toHeight){ // Get the original geometry…new one if (!file_exists($thmbFile)){ imagejpeg(
resizeImage
($file,$thmb_width,$thmb_height) ,$thmbFile,80);…
Re: Photo Gallery
Programming
Web Development
15 Years Ago
by TheNational22
…echo exec('convert *.tif *.jpg'); function
resizeImage
($originalImage,$toWidth,$toHeight){ // Get the original …new one if (!file_exists($thmbFile)){ imagejpeg(
resizeImage
($file,$thmb_width,$thmb_height) ,$thmbFile,80); …
Re: Photo Gallery
Programming
Web Development
15 Years Ago
by TheNational22
… $thmb_width = 150; $thmb_height = 150; function
resizeImage
($originalImage,$toWidth,$toHeight){ // Get the original geometry and …new one if (!file_exists($thmbFile)){ imagejpeg(
resizeImage
($file,$thmb_width,$thmb_height) ,$thmbFile,80);…
image resize prob
Programming
Web Development
14 Years Ago
by ajijacobm
… Bitmap b = new Bitmap(filename); System.Drawing.Image i =
resizeImage
(b, new Size(100, 100)); saveJpeg(destfile, (Bitmap)i,… 100); } private static System.Drawing.Image
resizeImage
(System.Drawing.Image imgToResize, Size size) { int sourceWidth = imgToResize…
Robot screen capture - heap OutOfMemory while reducing quality
Programming
Software Development
10 Years Ago
by Vaspar
… for resizing public class ImageResizer { public static ByteArrayOutputStream
resizeImage
(BufferedImage image) { ByteArrayOutputStream out = new ByteArrayOutputStream();… = robot.createScreenCapture(captureSize); return ImageResizer.
resizeImage
(screenImage); } What am I doing wrong?
upload_process
Programming
Web Development
10 Years Ago
by davy_yg
…imginfo[1]) { $im = convert_image($dest_filename,$mime);
resizeimage
($im,$widthnew,$heightnew,$dest_filename,$tinybrowser['imagequality']); imagedestroy($im); }… $im = convert_image($dest_filename,$mime);
resizeimage
($im,$tinybrowser['thumbsize'],$tinybrowser['thumbsize'],$thumbimg…
Error displaying multiple photos
Programming
Web Development
9 Years Ago
by uchejava
…], $pic_path)) { $image = new Resize($pic_path); $image->
resizeImage
(180, 180, 'crop'); $image->saveImage($pic_path); //thumbnail $…image = new Resize($pic_path); $image->
resizeImage
(50, 50, 'crop'); $image->saveImage($upload_folder . …
Re: Error displaying multiple photos
Programming
Web Development
9 Years Ago
by amith_ami
…)) { $image = new Resize($pic_path); $image->
resizeImage
(180, 180, 'crop'); $image->saveImage($pic_path);… $image = new Resize($pic_path); $image->
resizeImage
(50, 50, 'crop'); $image->saveImage($…
Insert to database failed with file attachment
Programming
4 Years Ago
by annya
…); $resizeObj1 = new resize($path); $resizeObj->
resizeImage
(150,150, 'exact'); $resizeObj->saveImage($uploadpathBig,… 100); // $resizeObj1->
resizeImage
(680,386, 'exact'); //$resizeObj1->saveImage($path…
How can zoom the image without changing the position of the image?
Programming
Software Development
13 Years Ago
by Nivass
… image. Thanks in Advance.... [CODE] //sz1 = (800, 600) private Image
resizeimage
(Image my, Size sz1) { double ratio = 0d; double myThumbWidth = 0d…
Read and Save image in JSP
Programming
Web Development
13 Years Ago
by kapilshanaz
… type2 = img.getType() == 0 ? BufferedImage.TYPE_INT_ARGB : img.getType(); BufferedImage img1 =
resizeImage
(img, type2); //for merge Graphics2D g2 = img1.createGraphics(); g2.setColor…
Image repeats on slider after croped/resized
Programming
Web Development
12 Years Ago
by fantasma
…'s the code that manipulates the image [CODE] ## -------------------------------------------------------- public function
resizeImage
($newWidth, $newHeight, $option="auto") { // *** Get optimal width and…
c# application doesn't work properly in some pc
Programming
Software Development
12 Years Ago
by sah
…long l = fi.Length; if (l > compressSize) { newBtmap =
resizeImage
(newBtmap, 1024,768) ; newBtmap = saveJpeg(IMAGE_PATH + (SCANNING_NUMBER + ) + ".jpg…
Image resize function
Programming
Web Development
11 Years Ago
by vibhaJ
I was struggling long for proper image resize function for maintaining image ratio. Finally i end end up with merging and changing all codes and it works ! function
resizeImage
($sourceFile,$destFile,$width,$height) sourceFile => Full path along with filename destinationFile => Full path along with filename I hope this will help coders..
Re: Image resize function
Programming
Web Development
11 Years Ago
by laminator
… unique filename from DB id $destFile = $destName.'.'.pathinfo($sourceFile, PATHINFO_EXTENSION);
resizeImage
($sourceFile, $destFile, '460', '460'); Function is very good, excellent defines…
assistance with clean up
Programming
Web Development
10 Years Ago
by Squidge
…/' . $fileName); // *** Resize options: exact, portrait, landscape, auto, crop $resizeObj->
resizeImage
(225, 150, 'auto'); $extension = strtolower(strrchr($fileName, '.')); // extract file extension…
help for image add in a cell
Programming
Software Development
8 Years Ago
by Ayoub_1
… JButton button; private ButtonListener bListener = new ButtonListener(); private static BufferedImage
resizeImage
(BufferedImage originalImage, int type) { BufferedImage resizedImage = new BufferedImage(435, 435…
Re: help for image add in a cell
Programming
Software Development
8 Years Ago
by Ayoub_1
… JButton button; private ButtonListener bListener = new ButtonListener(); private static BufferedImage
resizeImage
(BufferedImage originalImage, int type) { BufferedImage resizedImage = new BufferedImage(435, 435…
Re: Defer until load complete?
Programming
Web Development
15 Years Ago
by Fungus1487
… you would have to add an [CODE]onload="
resizeImage
(this)"[/CODE] to every image tag you want resizing… too. [CODE] var maxwidth = 100; var maxheight = 100; function
resizeImage
(img) { if(img.getAttribute("alt")=="user posted…quot; alt="user posted image" onload="
resizeImage
(this)" /></p>[/CODE]
Re: image thumbnail creation
Programming
Web Development
13 Years Ago
by apegram
… ImageResizer { public bool
ResizeImage
(string fullFileName, int maxHeight, int maxWidth) { return this.
ResizeImage
(fullFileName, maxHeight, maxWidth,… fullFileName); } public bool
ResizeImage
(string fullFileName, int maxHeight, …
Re: Draw text problem in picturebox
Programming
Software Development
13 Years Ago
by Nivass
… 800; sz1.Height = 600;//size u like
resizeimage
(my1, sz1); label1.Text = "";…button2.Visible = false; rectangles.Clear(); } } private void
resizeimage
(Bitmap my, Size sz1) { double ratio = 0d;…
Re: Maintain aspect ratio on div
Programming
Web Development
12 Years Ago
by Julia25
…; <script type="text/javascript"> function
resizeImage
() { var window_height = document.body.clientHeight var window_width = …" } } </script> <body onresize="
resizeImage
()"> <center><img onload="…;
resizeImage
()" margin="0" border="…
Re: Maintain aspect ratio on div
Programming
Web Development
12 Years Ago
by Troy III
… <script type="text/javascript"> function
resizeImage
() { var window_height = document.body.clientHeight var window_width …} } </script> <body onresize="
resizeImage
()"> <center><img onload="…;
resizeImage
()" margin="0" border="…
Re: Create image crop function for image editing tool.
Programming
Web Development
8 Years Ago
by skthree
… { $image_ext.= strtoupper($ext)." "; } function
resizeImage
($image,$width,$height,$scale) { list($imagewidth, $imageheight, …$scale = $max_width/$width; $uploaded =
resizeImage
($large_image_location,$width,$height,$scale); }else{ $scale = 1…
1
2
3
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
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
© 2024 DaniWeb® LLC