Домой Блог Страница 84069

Jordy Nelson eyes playing next week if Green Bay Packers advance

0

NewsHubGreen Bay Packers star wide receiver Jordy Nelson , who already was ruled out with cracked ribs for Sunday’s divisional playoff game against the Dallas Cowboys , hopes to play next week if his team advances to the NFC title game.
Nelson told NFL Network his biggest goal right now is to get back to normal breathing.
«It’s a pain no one wants to feel,» Nelson said Sunday.
Packers coach Mike McCarthy said Friday that team doctors did not medically clear the ninth-year veteran to practice Saturday.
Nelson has been sidelined because of cracked ribs he sustained in last Sunday’s 38-13 wild-card playoff win over the New York Giants .
Nelson traveled with the team to Dallas and will be re-evaluated by team doctors on Monday. He was on the field before Sunday’s game.
For the first time this season, the Packers and quarterback Aaron Rodgers will be without their top receiver, who led the team in receptions (97), receiving yards (1,257) and touchdown catches (14) during the regular season.
Nelson’s absence will elevate now-healthy Randall Cobb (60 catches for 610 yards and four TDs) into the role of lead receiver. Cobb caught three touchdown passes against the Giants while accumulating five receptions for 116 yards.

Similarity rank: 1.1
Sentiment rank: 3.4

© Source: http://www.upi.com/Sports_News/NFL/2017/01/16/Jordy-Nelson-eyes-playing-next-week-if-Green-Bay-Packers-advance/8291484558939/
All rights are reserved and belongs to a source media.

Sea lion caught in fishing gear hops onto Coast Guard boat

0

NewsHubIn this Saturday, Jan. 14, 2017 photo released by the U. S. Coast Guard Station Los Angeles, a sea lion hitches a ride on a US Coast Guard boat crew off the coast of Newport Beach, Calif.
(U. S. Coast Guard via AP)
NEWPORT BEACH, Calif. – Officials say a juvenile sea lion was so happy to be rescued after getting hooked by fishing gear off Southern California, it jumped into a Coast Guard boat.
The Coast Guard says a Los Angeles-area crew on patrol pulled the sea lion free Saturday near Newport Harbor.
Officials say after a little persuasion, the sea lion hopped aboard the boat and posed for photos.
The animal was handed off to a crew from the Pacific Marine Mammal Center, which brought the sea lion to its rescue facility. It will be rehabilitated and released.

Similarity rank: 1.1
Sentiment rank: 2.9

© Source: http://www.foxnews.com/us/2017/01/16/sea-lion-caught-in-fishing-gear-hops-onto-coast-guard-boat.html
All rights are reserved and belongs to a source media.

These 20 Democrats Are Sitting Out Trump’s Inauguration

0

NewsHubThe number of Democratic lawmakers boycotting President-elect Donald Trump’s inauguration has increased to 20, according to a Monday report from Fox News.
The most recent dropouts came as a result of the spat Trump had with Rep. John Lewis over the weekend on Twitter, according to Rep. Ted Lieu of California.
“For me, the personal decision not to attend [the] inauguration is quite simple: Do I stand with Donald Trump, or do I stand with John Lewis? I am standing with John Lewis,” Lieu said in a prepared statement.
Lewis called Trump’s win “illegitimate,” in an interview with NBC News Friday, a move that prompted Trump to fire back a response on Twitter. “Congressman John Lewis should spend more time on fixing and helping his district, which is in horrible shape and falling apart (not to mention crime infested) rather than falsely complaining about the election results. All talk, talk – no action or results. Sad!” Trump wrote in a pair of tweets early Saturday morning.
Lieu and Lewis joined Democratic Reps. Luis Gutierrez, Katherine Clark, John Conyers, Primila Jayapal, Jared Huffman, Mark DeSaulnier, Lacy Clay, Earl Blumenauer, Adam Smith, Barbara Lee, Raul Grijalva, Kurt Schrader, Jose Serrano, Nydia Velazquez, Mark Takano, Yvette Clarke, Judy Chu, Jerry Nadler, and Adriano Espaillat.
Democratic nominee Hillary Clinton responded with indignation with Trump refused to say whether or not he planned to support the results of the election if he lost in November.
“We know, in our country, the difference between leadership and dictatorship. And the peaceful transition of power is something that sets us apart,” Clinton said in October, going on to assert that Trump’s refusal “threatens Democracy.”
Follow Phillip On Twitter
Have a Tip? Let us Know
Content created by The Daily Caller News Foundation is available without charge to any eligible news publisher that can provide a large audience. For licensing opportunities of our original content, please contact [email protected].

Similarity rank: 10
Sentiment rank: 0

© Source: http://dailycaller.com/2017/01/16/these-20-democrats-are-sitting-out-trumps-inauguration/
All rights are reserved and belongs to a source media.

Brillenfirmen Luxottica und Essilor wollen fusionieren

0

NewsHubAuf dem Brillenmarkt zeichnet sich die Fusion zweier Giganten ab. Der italienische Hersteller von Gestellen Luxottica , zu dem Marken wie RayBan und Oakley gehören, will mit dem französischen Gläserfabrikanten Essilor zusammengehen. Beide sind in ihrer Sparte Weltmarktführer, Essilor konkurriert in Deutschland mit Zeiss und Rodenstock. Der Zusammenschluss habe ein Volumen von 46 Milliarden Euro, teilten die beiden Firmen am Montag mit. „Endlich werden zwei Produkte, die von Natur aus zusammengehören – Fassungen und Gläser – unter einem Dach entworfen, gefertigt und vertrieben“, sagte der Gründer von Luxottica , der 81-jährige Leonardo Del Vecchio. Mit ihrer Fusion wappnen sich Luxottica und Essilor für eine starke Nachfrage auf einem Markt, der wegen der immer älter werdenden Bevölkerung und des Nachholbedarfs in Asien und Lateinamerika weiter wachsen wird.
Luxottica und Essilor arbeiten bereits zusammen. So liefert Essilor seit Jahren Gläser für Luxottica. Die Italiener fertigen auch Fassungen für Luxusmarken wie Chanel, Georgio Armani, Prada und Versace.
Von ihrer Fusion erhoffen sich die beiden Firmen mittelfristig Kosteneinsparungen von 400 bis 600 Millionen Euro. Sie rechnen mit einem gemeinsamen Jahresumsatz von 15 Milliarden Euro. Ihren Kunden versprach Essilor-Chef Hubert Sagnieres in einer Telefonkonferenz mit Journalisten einen deutlich schnelleren Service. Die Aktien der beiden Unternehmen legten zeitweise um 14 Prozent zu, Luxottica lag gegen Mittag mehr als acht Prozent im Plus, Essilor rund 13 Prozent.
Der neue Konzern Essilor Luxottica soll in Paris gelistet sein, Insidern zufolge möglicherweise auch in New York. Er soll 140.000 Mitarbeiter in mehr als 150 Ländern zählen. An der Spitze des neuen Unternehmens soll Del Veccio stehen, der erst vor zwei Jahren wieder die Führung bei Luxottica übernommen hatte. Del Vecchios Stellvertreter soll Essilor-Chef Sagnieres werden.
Del Vecchio will über seine Familienholding Delfin einen Anteil von 31 bis 38 Prozent am neuen Brillenkonzern halten und wird damit größter Eigner. Einen Zusammenschluss hatten die beiden Unternehmen schon vor einigen Jahren ins Auge gefasst. Erste Verhandlungen wurden wegen diverser Gründe wieder eingefroren.
Luxottica hat turbulente Zeiten hinter sich. So trat im vergangenen Jahr mit dem früheren Procter&Gamble-Manager Adil Mehboob-Khan der dritte Vorstandschef in 17 Monaten zurück. Sein direkter Vorgänger hatte nach nur sechs Wochen wegen Differenzen mit Del Vecchio das Handtuch geworfen. Als Del Vecchio wieder selbst das Ruder übernahm, warf das Fragen über seine Strategie und seine Nachfolge auf. Etliche Insider setzten seither auf eine Fusion.
*** Bestellen Sie den täglichen Newsletter der Deutschen Wirtschafts Nachrichten: Die wichtigsten aktuellen News und die exklusiven Stories bereits am frühen Morgen. Verschaffen Sie sich einen Informations-Vorsprung. Anmeldung zum Gratis-Newsletter hier. ***

Similarity rank: 4.2

© Source: https://deutsche-wirtschafts-nachrichten.de/2017/01/16/brillenfirmen-luxottica-und-essilor-wollen-fusionieren/
All rights are reserved and belongs to a source media.

DFB-Sportdirektor Flick tritt überraschend zurück

0

NewsHubDFB-Sportdirektor Flick verlässt auf eigenen Wunsch den Deutschen Fußball-Bund. Übergangsweise wird Horst Hrubesch die Aufgaben von Flick übernehmen. Der 51-Jährige wolle eine berufliche Auszeit nehmen, hieß es.
Hansi Flick hat seinen Posten als Sportdirektor beim Deutschen Fußball-Bund überraschend aufgegeben. Vorläufig übernimmt der ehemalige U21-Nationaltrainer Horst Hrubesch die Aufgaben von Flick, teilte der DFB mit. Flick wolle eine berufliche Auszeit nehmen, hieß es.
Ursprünglich lief der Vertrag des 51-Jährigen noch bis August 2019. Flick war, bevor er ins Management wechselte, acht Jahre lang Co-Trainer von Bundestrainer Joachim Löw.

Similarity rank: 5.2

© Source: http://www.tagesschau.de/eilmeldung/flick-dfb-103.html
All rights are reserved and belongs to a source media.

Acht Milliardäre besitzen mehr als ärmere Weltbevölkerungshälfte

0

NewsHubOxfrod, Davos, Innsbruck — Acht Männer verfügen zusammen über ein größeres Vermögen als die gesamte ärmere Hälfte der Weltbevölkerung. Zu diesem Schluss kommt die Entwicklungshilfeorganisation Oxfam in einem am Montag veröffentlichten Bericht unter dem Titel „An Economy for the 99 Percent».
Oxfam schätzt das Vermögen der acht reichsten Milliardäre auf 426 Milliarden Dollar (399,59 Mrd. Euro), das der ärmeren Hälfte der Weltbevölkerung auf 409 Milliarden Dollar. Der anlässlich des Weltwirtschaftsforums in Davos herausgegebene Bericht prangert die weltweite soziale Ungleichheit an.
Diese sei größer als bisher angenommen, teilte Oxfam mit. Im vergangenen Jahr habe das Vermögen der ärmeren Hälfte der Weltbevölkerung noch dem der 62 reichsten Menschen entsprochen. Neue Daten aus China und Indien zeigen aber Oxfam zufolge, dass die ärmere Hälfte deutlich weniger Vermögen besitzt als gedacht.
Vorteile auf Kosten des Allgemeinwohls
Diese Entwicklung hänge eng mit den Möglichkeiten reicher Menschen und internationaler Konzerne zusammen, sich Vorteile auf Kosten des Allgemeinwohls zu verschaffen, kritisierte die Organisation. Sie nutzten aggressive Steuervermeidung, verschöben ihre Gewinne in Steueroasen und trieben Staaten in einen ruinösen Wettlauf um Steuersätze.
Die acht reichsten Männer sind der Auflistung zufolge Bill Gates, Amancio Ortega (Gründer der spanischen Modekette Zara), Warren Buffet, Carlos Slim, Jeff Bezos, Mark Zuckerberg, Larry Ellison (Chef des Softwarekonzerns Oracle) und Michael Bloomberg. Gates führt die Liste mit einem Vermögen von 75 Milliarden Dollar an. Bloomberg ist mit 40 Milliarden Dollar der letzte unter den acht Reichsten.
Oxfam fordert in dem Bericht eine gerechtere Steuer- und Wirtschaftspolitik zum Wohl der ärmeren 99 Prozent der Weltbevölkerung. Demnach verfügt diese übergroße Mehrheit der Weltbevölkerung mit 49,2 Prozent noch nicht einmal über die Hälfte des weltweiten Vermögens. Als Gegenmaßnahmen schlägt Oxfam vor, Konzerne stärker zu besteuern und Steuerschlupflöcher zu schließen. Zudem sollten Einkommen und Vermögen von Superreichen stärker besteuert werden.
Weltweit fühlten sich immer mehr Menschen abgehängt, beklagte Jörn Kalinski von Oxfam Deutschland. „Regierungen betreiben das Spiel der globalen Konzerne und reichen Eliten — und die Bevölkerung zahlt die Zeche. » Dies beschädige den sozialen Zusammenhalt, behindert den Kampf gegen Armut und untergrabe den Glauben an die Demokratie. So bereite Ungleichheit den Boden für Rechtspopulisten.
Kritik: Äpfel mit Birnen vergleichen
Aber auch wenn die Studie die weltweite Ungleichheit anschaulich darstellt, hat sie doch einige Schwachstellen. Die Süddeutsche Zeitung etwa bemängelt, dass der Bericht der Organisation keine wirtschaftswissenschaftliche Studie sei, welche moderne Berechnungsmethoden benutze, sondern lediglich «Äpfel mit Birnen vergleicht».
Die Äpfel stünden laut SZ für den Vermögensbericht der Bank Credit Suisse, von der auf die ärmere Bevölkerungshälfte geschlossen wird. «Die Credit-Suisse-Daten sind für einen Vergleich oben gegen unten nicht optimal», schreibt die deutsche Tageszeitung. «Ein amerikanischer Student beispielsweise zählt in diesen Daten zu den ärmsten 50 Prozent, auch wenn er aus der Mittelklasse kommt und nach der Uni an der Wall Street sehr viel Geld verdienen wird. Denn im Studium ist der junge Mann verschuldet — hat also negatives Vermögen. »
Viele Menschen in ärmeren Ländern würden aber überhaupt keine Kredite erhalten, könnten in dem Vermögensbericht also nicht auf die hinteren Plätze fallen. Obwohl er jeden Monat Geld vom Staat bekomme, sei laut dieser Rechnung «ein deutscher Rentner, der einen kleinen Kredit für den Kauf eines neuen Wagens aufgenommen hat, ärmer als ein Bauer in Burundi. »
Die Birnen, derer sich Oxfam bediene, seien auf der Forbes-Liste, aus der die reichsten Menschen der Welt hergeleitet werden, zu finden. Diese beruht auf Schätzungen und ist alles andere als genau. Andere Listen, wie etwa jene der Finanzagentur Bloomberg, würden zu anderen Ergebnissen kommen. (bfk/apa/afp/reuters)

Similarity rank: 5.3

© Source: http://www.tt.com/wirtschaft/wirtschaftspolitik/12496553-91/acht-milliard%C3%A4re-besitzen-mehr-als-%C3%A4rmere-weltbev%C3%B6lkerungsh%C3%A4lfte.csp
All rights are reserved and belongs to a source media.

Mehr als 30 Tote bei Flugzeug-Absturz auf Dorf

0

NewsHubBeim Absturz eines türkischen Frachtflugzeugs in Kirgistan sind am Montag nach unterschiedlichen Agenturangaben mindestens 37 Menschen ums Leben gekommen. Bei den meisten Opfern handelt es sich den Behörden zufolge um Einwohner des Dorfes Datscha-Suu, über dem die Boeing 747 gegen 2.20 Uhr MEZ verunglückte. Mehr als 15 Gebäude seien zerstört oder beschädigt worden.
Die Maschine mit der Registrierung TC-MCL habe auf dem Weg von Hongkong nach Istanbul auf dem Flughafen Manas in der Nähe der kirgisischen Hauptstadt Bischkek zwischenlanden sollen. Die Gesellschaft ACT Airlines sagte, die Unglücksursache sei unklar. Zum Zeitpunkt des Absturzes herrschte schlechte Sicht.
Die Zahl der Opfer könne noch steigen, meinte ein Sprecher des Katastrophenschutzministeriums. Das Dorf sei schwer getroffen, mehr als 40 Häuser hätten Schaden genommen. Ein Reporter berichtete, über dem Gebiet sei immer noch dichter Rauch zu sehen. Noteinsatzteams hätten die kleinen Feuer in verschiedenen Teilen des Dorfes fast gelöscht.
Rettungskräften zufolge waren mindestens sechs Kinder unter den Opfern. Nach Angaben des Gesundheitsministeriums starben auch vier Piloten.
Eine Dorfbewohnerin berichtete, das Flugzeug sei «direkt in Häuser gestürzt», in denen Menschen schliefen. «Das Haus meiner Schwester ist schwer beschädigt. Zum Glück haben sie und ihre Familie überlebt. » Ein anderer Augenzeuge sagte, durch den Flugzeugabsturz seien «ganze Familien mit ihren Kindern getötet» worden — viele davon im Schlaf. Von den Häusern sei «nichts mehr übrig».
Der internationale Flughafen Manas außerhalb der Hauptstadt wurde geschlossen, Flüge bis zum Abend ausgesetzt. Ministerpräsident Sooronbai Dscheenbekow übernahm die Leitung einer eigens eingerichteten Sonderkommission zur Untersuchung der Umstände des Unglücks. Der kirgisische Staatschef Almasbek Atambajew beendete Medienberichten zufolge seinen Besuch in China, um nach Bischkek zurückzukehren.
Die kirgisischen Behörden hatten zunächst von einer Maschine der Turkish Airlines gesprochen. ACT wurde nach eigenen Angaben 2004 gegründet. Sie ist demnach fast vollständig im Besitz einer chinesischen Gruppe und eines türkischen Teilhabers.
(APA/AFP/Reuters/dpa)

Similarity rank: 6.4

© Source: http://diepresse.com/home/ausland/welt/5154834/Kirgisistan_Mehr-als-30-Tote-bei-FlugzeugAbsturz-auf-Dorf?from=rss
All rights are reserved and belongs to a source media.

Deutschland warnt vor internationalem Steuerwettbewerb

0

NewsHub«Wir sind natürlich gegen einen Steuersenkungswettlauf», sagte eine Sprecherin des deutschen Bundesfinanzministers Wolfgang Schäuble am Montag. Jeder Wettbewerb brauche einen Ordnungsrahmen. Darüber sei man sich in der EU und in der G20-Gruppe der Industrie- und Schwellenländer im Grundsatz einig. Damit spielte sie auf die BEPS-Initiative der G20 gegen unfaire Praktiken im globalen Steuerwettbewerb und zum Schließen von Steuerschlupflöcher für internationale Konzerne an. Auch die USA gehören dieser Gruppe an.
«Aus unserer Sicht ist es wichtig, dass in einer globalisierten Welt Regeln bestehen, wie man die Wirtschaft gestaltet», sagte Schäubles Sprecherin. Schäuble selbst hatte bereits nach ersten Ankündigungen von Großbritanniens Premierministerin Theresa May vor wenigen Wochen, dass ihre Land die niedrigsten Unternehmenssteuern in der G20 anstreben könnte, vor einem Steuersenkungswettlauf gewarnt. Am Wochenende hatte Finanzminister Philip Hammond sich erneut in diese Richtung geäußert. Inzwischen kündigte US-Präsident Donald Trump an, die Firmensteuern in seinem Land auf 15 bis 20 Prozent von 35 Prozent zurücknehmen zu wollen. Allerdings besteuern die USA ihre Firmen derzeit um einiges höher als das Deutschland tut.
Bislang sind die Steuersenkungspläne in den USA und in Großbritannien jedoch noch nicht fest vereinbart. «Im Moment haben wir es mit Ankündigungen zu tun, in Interviews, und nicht mit konkreter Politik», sagte Schäubles Sprecherin.
(Reuters)

Similarity rank: 6.6

© Source: http://diepresse.com/home/wirtschaft/economist/5155087/Deutschland-warnt-vor-internationalem-Steuerwettbewerb?from=rss
All rights are reserved and belongs to a source media.

Ten Developer Interview Questions You Should Know

0

NewsHubIt seems like anyone who knows how to copy code from an Internet search or put a semicolon at the end of a line calls themselves a developer. However, how do you sort those who understand development from those who just want to? The answer may be in these ten interview questions that every developer should know. Developer is the workhorse role in the software development process, as the » Anatomy of a Software Development Role: Developer » article points out.
Image source: https://s3.amazonaws.com/StartupStockPhotos/uploads/19.jpg
No author listed, from startupstockphotos.com
A: A candidate’s answer should include that validating user input should happen client-side to provide instant feedback, and server-side to ensure that malicious data isn’t injected. For methods to be safe, they need to validate any input parameters they get, particularly if they can be coming from a user.
Image source: https://pixabay.com/en/checklist-test-check-cross-correct-1402461/
Author: ellisedelacruz
A: The answer here focuses on the need for some caching to improve scalability and performance, as well as the problems with cache coherency and staleness. Candidates should be aware of these problems and understand that they require special architectural considerations. Developers aren’t asked to address major architectural issues, but need to know when they might occur.
Image source: https://www.flickr.com/photos/redjar/113152393/
Author: redjar
A: Every candidate should be aware of basic error handling, including the idea of wrapping errors in more context and throwing them up the stack until they can be logged. Developers understand that exceptions should not be allowed to bubble back up to the user.
Image source: https://pixabay.com/en/smilies-emoticons-especially-1607164/
Author: geralt
A: The answer may vary, but should include online forums or local community groups, as well as reading books, articles, Web sites, or other materials and online videos. The intent of the question is to ensure that the candidate will continue to improve over time through continuous learning.
Image source: https://pixabay.com/en/download-boy-man-learn-cloud-1666700/
Author: geralt
A: Some developers prefer working on slick user interfaces. Others are at home writing data processing logic. Still others love complicated logic puzzles. This question seeks to get a sense for what excites a candidate.
Image source: https://skh-careers-in-technology.wikispaces.com/file/view/video-game-designer.jpg/338253666/520×379/video-game-designer.jpg
No author listed, from skh-careers-in-technology.wikispaces.com
A: One way to know how excited a developer is about their craft is to ask them what they do for fun. Good developers connect the proverbial toaster to the Internet. Employers want employees who enjoy what they do—because they’ll be better at it.
Image source: https://s3.amazonaws.com/StartupStockPhotos/20140808_StartupStockPhotos/24.jpg
No author listed, from startupstockphotos.com
A: The best reusable objects have a single focus and do it—whatever that is—very well. The candidate’s answer should talk about the objects that have been built and why they were so valuable. The thinking behind building reusable objects helps developers be better at all kinds of development.
Image source: http://www.themindfulword.org/2014/new-year-new-complexities-resolutions-goals/
Author: David Niblack
A: The goal of the question is to discover some of the hidden tools that developers use to debug. Answers can be «old school,» such as outputting information or logging. They might be tools integrated into the development environment, or third-party tools. Debugging is a substantial amount of the time spent developing code—so knowing how to debug is essential.
Image source: https://www.flickr.com/photos/brungrrl/10987315355/
Author: Stacy Brunner
A: Developers are often called upon to make decisions as to which settings should be configurable—and which shouldn’t—as well as how default values should be handled. A candidate should be prepared to talk about how they make values configurable, default reasonable values, and how they document those that are changeable.
Image source: https://www.flickr.com/photos/longzheng/3492524719/
Author: Long Zheng
A: Development isn’t just about where the semicolons go. Candidates have to have basic skills and language/platform knowledge. However, it’s just as important to understand the industry they’re in or the departmental/functional needs.
Image source: http://stackoverflow.com/jobs/124180/lead-software-developer-windows-clients-lundalogik-ab
No author listed, from stackoverflow.com
It seems like anyone who knows how to copy code from an Internet search or put a semicolon at the end of a line calls themselves a developer. However, how do you sort those who understand development from those who just want to? The answer may be in these ten interview questions that every developer should know.
Your name/nickname
Your email
Subject
(Maximum characters: 1200). You have characters left.

Similarity rank: 0.1

© Source: http://www.developer.com/mgmt/slideshows/ten-developer-interview-questions-you-should-know.html
All rights are reserved and belongs to a source media.

Working with Images in Java — Developer.com

0

NewsHubJava provides extensive support in its core API for working with images. Image processing is a vast area in its own right. Serious programmers in this domain use more than one tool/library, such as OpenCV , to work with images. Java, being a general purpose language, supports the essential features for common programming needs. However, the OpenCV library has its Java counterpart that can be effectively used for implementing more crude operations with the images. This article explores the key aspects of working with images using the core API library with a brief introduction on some background information.
As we talk of images in computing, they are of different types; the term colloquially mean graphics, pictures, images, logos, and so forth. This article makes no distinction and designates one and all of them as images; in fact, they are same from the programming point of view. The basic property of an image is defined by its dimension, resolution measured in pixels, and the coordinate system independent of the drawing surface. An image in Java is primarily an object of the Image class. It is a part of the java.awt package, along with many other auxiliary imaging classes and interfaces. These core APIs are used mainly for;
But, before delving into these processes, let’s get an idea of image file formats.
The information about the combination of color, pixels, and dimensions make an image file. They need to be stored in memory. As a result, the information has to be represented in an array of bits. An image file becomes quite large when represented in an simple array of bits. So, a mechanism is devised to compress them so that it not only reduces the file size but also retains visual quality. This is exactly what the encoding technique does. It arranges the bits in a manner that can be stored in a digital medium or transmitted easily in a network. Each encoding technique defines an image file format.
File formats are the data structure on how image information is encoded and stored in a repository. Understandably, these encoding techniques are quite complex and heavily depend upon complex mathematical formulation. Many of them are standardized and commonly used on the Web. The three most common file formats that we always encounter are JPEG (Joint Photographer Experts Group), GIF (Graphics Interchange Format), and PNG (Portable Network Graphics). There are many others, such as TIFF, Exif, BMP, and so on. Let’s stick to only three of them for now:
The most common class in the Java API that deals with images is java.awt. Image. Image is an abstract class, sub classed by BufferedImage and VolatileImage. Among these two, BufferedImage is most frequently used.
Figure 1 : Classes of images
Images are displayed using drawImage methods of the Graphics class.
** Extracted from Java API documentation
This method displays the images passed as a reference. Apart from the coordinates passed as a parameters, the method drawing an image is associated with the ImageObserver interface and Color class. The Color class encapsulates the colors in the RGB color space and an implicit alpha value that specifies the transparency. The ImageObserver interface receives notification as the image is being updated. This is particularly useful to show the progress of image update of a large image or while downloading image from a slow network connection.
As per the Java API documentation and Chet’s VolatileImage Q&A , the concrete subclass BufferedImage uses an accessible data buffer and relies on the image manipulation techniques defined by the methods of java.awt.image. Raster and the color characterization methods of java.awt.image. ColorModel. BufferedImage objects are allocated in an area that is in full control of the application. VolatileImage objects, on the other hand, are created in the limited system resource area, such as VRAM. Such limited resource areas are not in control of the application. As a result, the objects may be garbage collected as a result of optimizing limited resources or due to a proactive call of the flush method. So, the use of the VolatileImages object is unreliable or should be used cautiously. However, when the question of rendering performance arises, VolatileImage has the leverage of hardware rendering, whereas BufferedImage has to remain satisfied with the software rendering performance.
Images that we’ll be using in the code below are as follows.
Name: starburst.jpg
Size: 350×200
Figure 2 : Starburst image
Name: blob.jpg
Size: 50×50
Figure 3 : A blob
As with working with any basic file, images are loaded from an external file stored in a digital medium or an URL from the network; then, an image is created and finally saved. The following code will show how to do it in a simple manner.
Images need to loaded or created in a GUI component. We’ll be using java.swing. JPanel as a container for our images. The paint method of this component can be overloaded to create the image. The paint method is automatically invoked to render the component on-screen. It takes a Graphics object as a parameter. This object reference is used to create the image.
Here, we’ll be loading two images superimposing one on other, write some text, and finally save the image as a jpg file onto the disk.
Figure 4 : Starburst image with control buttons and the blob
The imaging classes provided in this are article are just tip of the iceberg. The core API library has several other classes that can be used to have a better control over imaging process and support advanced imaging techniques. Some of the classes are described in package javax.imageio. Other classes such as MediaTracker which enables checking the status of arbitrary number of images in parallel, interfaces such as ImageProducer , ImageConsumer to work with image data, ImageFilter objects can be used to manipulate pixels in the images. In a nutshell, the core API library along with a third party library such as OpenCV can provide almost every need of an image processing programmer.

Similarity rank: 0.1

© Source: http://www.developer.com/java/data/working-with-images-in-java.html
All rights are reserved and belongs to a source media.

Timeline words data