Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 11th, 2007, 12:34 AM
Registered User
 
Join Date: Apr 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default save images in size .75 X .75

I have cropped images in visual basic(using Lead Tools). I would like to save the cropped images in size .75X.75 inches in the file system itself.
Please help. Its urgent.

 
Old May 11th, 2007, 01:58 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

image are saved in pixels, not in inches
in some (most) file formats it is possible to specify the pixel size, and some tools will use it to display the image "full" size"

"There are two ways to write error-free programs. Only the third one works."
Unknown
 
Old May 11th, 2007, 05:54 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

You can, through GDI+ anyway, create a bitmap that is 54px X 54px which will give you an image that is .75"x.75" (assuming, of course, 72 pixles per inch and that by .75" you mean 3/4ths)

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========





Similar Threads
Thread Thread Starter Forum Replies Last Post
Load Images from and Save Images to a Database cyndie VB.NET 2 August 17th, 2008 06:42 AM
Chapter 2 Pg. 75-77 while function joshkosmala BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 2 February 28th, 2007 04:27 PM
Save images in Sql Db itHighway SQL Server 2000 5 October 18th, 2006 10:39 AM
Resizing images according to paper size Taxidriver Crystal Reports 3 March 28th, 2006 06:08 AM
Save Images in Sql Db itHighway Classic ASP Basics 7 August 10th, 2005 01:07 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.