Click here to Skip to main content
15,886,258 members
Home / Discussions / C#
   

C#

 
Questionhow to use jcrop while uploading image Pin
Member 1255141831-May-16 21:00
Member 1255141831-May-16 21:00 
QuestionRe: how to use jcrop while uploading image Pin
Richard MacCutchan31-May-16 21:03
mveRichard MacCutchan31-May-16 21:03 
AnswerRe: how to use jcrop while uploading image Pin
Member 1255141831-May-16 21:10
Member 1255141831-May-16 21:10 
GeneralRe: how to use jcrop while uploading image Pin
Pete O'Hanlon31-May-16 21:20
mvePete O'Hanlon31-May-16 21:20 
GeneralRe: how to use jcrop while uploading image Pin
Member 125514181-Jun-16 1:01
Member 125514181-Jun-16 1:01 
GeneralRe: how to use jcrop while uploading image PinPopular
Pete O'Hanlon1-Jun-16 1:07
mvePete O'Hanlon1-Jun-16 1:07 
GeneralRe: how to use jcrop while uploading image Pin
Member 125514181-Jun-16 3:40
Member 125514181-Jun-16 3:40 
GeneralRe: how to use jcrop while uploading image Pin
Pete O'Hanlon1-Jun-16 5:31
mvePete O'Hanlon1-Jun-16 5:31 
You can use CodeProject all you like but you have to realise that members physically couldn't cope with the number of requests for code that come in. What you need to do is break down the effect you are trying to achieve into simple steps - something like this:

1. Get the rectangle from the image that the user has selected.
2. Upload the image along with the rectangle.
3. At the server side, load the image into a temporary bitmap object
4. Apply the same rectangle and crop to it
5. Save the cropped image.

When you break things down like that, you see that things aren't quite as hard, and it shows you what areas you are going to have to research. For instance, cropping a bitmap could be accomplished using the technique here[^].
This space for rent

GeneralRe: how to use jcrop while uploading image Pin
Member 125514181-Jun-16 20:35
Member 125514181-Jun-16 20:35 
GeneralRe: how to use jcrop while uploading image Pin
Pete O'Hanlon1-Jun-16 22:00
mvePete O'Hanlon1-Jun-16 22:00 
GeneralRe: how to use jcrop while uploading image Pin
Richard Deeming2-Jun-16 2:06
mveRichard Deeming2-Jun-16 2:06 
GeneralRe: how to use jcrop while uploading image Pin
Member 125514182-Jun-16 2:14
Member 125514182-Jun-16 2:14 
GeneralRe: how to use jcrop while uploading image Pin
Richard MacCutchan31-May-16 21:24
mveRichard MacCutchan31-May-16 21:24 
Questionc# string.IsNullOrEmpty Pin
aspkiddy31-May-16 6:59
aspkiddy31-May-16 6:59 
AnswerRe: c# string.IsNullOrEmpty Pin
Eddy Vluggen31-May-16 19:40
professionalEddy Vluggen31-May-16 19:40 
GeneralRe: c# string.IsNullOrEmpty Pin
Bernhard Hiller31-May-16 23:55
Bernhard Hiller31-May-16 23:55 
GeneralRe: c# string.IsNullOrEmpty Pin
Eddy Vluggen1-Jun-16 0:04
professionalEddy Vluggen1-Jun-16 0:04 
GeneralRe: c# string.IsNullOrEmpty Pin
V.1-Jun-16 1:19
professionalV.1-Jun-16 1:19 
GeneralRe: c# string.IsNullOrEmpty Pin
Bernhard Hiller1-Jun-16 4:07
Bernhard Hiller1-Jun-16 4:07 
AnswerRe: c# string.IsNullOrEmpty Pin
V.31-May-16 20:09
professionalV.31-May-16 20:09 
GeneralRe: c# string.IsNullOrEmpty Pin
Richard Deeming1-Jun-16 1:30
mveRichard Deeming1-Jun-16 1:30 
GeneralRe: c# string.IsNullOrEmpty Pin
V.1-Jun-16 1:32
professionalV.1-Jun-16 1:32 
GeneralRe: c# string.IsNullOrEmpty Pin
aspkiddy1-Jun-16 2:50
aspkiddy1-Jun-16 2:50 
QuestionRe: c# string.IsNullOrEmpty Pin
Eddy Vluggen1-Jun-16 2:52
professionalEddy Vluggen1-Jun-16 2:52 
AnswerRe: c# string.IsNullOrEmpty Pin
aspkiddy1-Jun-16 3:05
aspkiddy1-Jun-16 3:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.