DEANO.ME

resize

 

Recently I was working with UPS Dispatch Labels, I built a neat system which would get back the label URL from the API and then pull out the image data from the document (the image being just the label itself). Unfortunately there was some whitespace on the label which was affecting a A4 instruction sheet […]

 

This ones very useful if your looking to resize an external image in Java. Recently I have been needing this solution and once I had implemented the code I decided I would share it for anyone else looking to do the same. How it works This function will take the Source Image and Destination Image […]

 

One useful feature in most programming languages is the ability to resize an array if you need more allocations for data, for instance in VB.NET you would resize an array like this: Dim myArray(4) As Integer Redim Preserve myArray(10) As Integer   In Java however it’s a different story… Java arrays cannot be resized dynamically […]

+1
Tweet
Share2
Share
Stumble
Pin
Email
Shares 2