Pil Flip Image

rotate — rotate an image: pygame. flip or sharpen the image Have fun coding and please leave me a comment if you'll find this info useful. Just garbage on the surface in google results. At the time of writing, it is only available for Python 2. PIL is the Python Imaging Library which provides the python interpreter with image editing capabilities. gblur(im, [radius]) gblur (im, [radius]) grayscale (image) Convert to grayscale: invert (image) Invert image (negate) mirror (image) Flip image. ImageUtilities import scan_directory. FLIP_LEFT_RIGHT). Pillow tutorial shows how to use Pillow in Python to work with images. Following is the folder structure after the execution. Some of the operations covered by this tutorial may be useful for other kinds of multidimensional array processing than image processing. 概要 Pillow (PIL) で画像を回転、反転させる方法を整理する。 概要 任意の角度回転させる。 画像を 90°、180°、270° 回転させる 反時計回りに90° (時計回りに270°) 回転させる。. I don't want choices:. conda install -c anaconda pil Description. Unfortunately, its development has stagnated, with its last release in 2009. Why are you learning both approaches? Well, if you want to work with part of the image or "flip" an image, it is easier to access individual pixels in specific rows and columns. In affine transformation, all parallel lines in the original image will still be parallel in the output image. Personally I'd use Tk + PIL. Has anyone figured out a way to flip in Image in Xamarin Forms? Not rotate it - I use that for something else - but to flip it on the vertical axis? It does not appear that Xamarin supports the ScaleTransform I could use to do this w/ MSFT. @omz thanks, but i know this way, it is not what i want to achieve. ImageDataGenerator methods apply_transform apply_transform(x, transform_parameters) Applies a transformation to an image according to given parameters. You don't have to do this, of course. In this article we'll show you how to add an image to a window. The array is rotated in the plane defined by the two axes given by the axes parameter using spline interpolation of the requested order. transpose(Image. ImageOps Module (New in 1. FLIP_TOP_BOTTOM(). Therefore, the kind users of this site suggested to take a look at Pillow. PyQt5 (and Qt) support images by default. save("lena_mirror. you can rotate your image and re-upload it in one script! import requests from PIL import. Normal people use an image editor. It's kind of backward, as it's actually harde. The module we use in this recipe to resize an image with Python is PIL. Processing can display. Load and save TIFF and TIFF-based images using tifffile. This library provides extensive file format support, an efficient internal representation, and fairly powerful image processing capabilities. We won't debate on which library is the best here, they all have their merits. Image and then size argument which can be a single integer or tuple of two integers. But I guess the OP doesn't mind showing the image in the Windows picture viewer. By design the image in Step 2 has those holes filled in. ImageData (width, height, fmt, data, source=None, flip_vertical=True, source_image=None, rowlength=0) [source] ¶ Bases: builtins. This library supports many file formats, and provides powerful image processing and graphics capabilities. That would be embarrassing for you as a programmer and me as a tutorial writer. Horizontally flip the given PIL Image. def truetype (font = None, size = 10, index = 0, encoding = "", filename = None): """ Load a TrueType or OpenType font file, and create a font object. The following are code examples for showing how to use PIL. Here are the examples of the python api PIL. Loading images in Jupyter Notebooks is not possible to the best of my knowledge. Best Answer: Another application of the Python Image Library (PIL). TRANSPOSE You can also use one of Pillow's ROTATE constants here too, but we're focusing just on the mirroring aspect of the transpose() method. you can rotate your image and re-upload it in one script! import requests from PIL import. Note: Always specify the list-style-type property in addition. Say you have a really long picture like this. Must have the same mode and size as the first image. Should I just be using an Image not attached to a view?. Disable Auto-rotate for IrfanView. An image tagged happy friday puppy,happy friday,friday,meme,memes,puppy. show() my_img. For anyone thinking about doing serious image processing. All that remains is to rotate the sun to the desired orientation. At the time of writing, it is only available for Python 2. If you have ever worried or wondered about the future of PIL, please stop. General Research Division, The New York Public Library. *FREE* shipping on qualifying offers. save(filename) # a simple way to show the image file is to use module webbrowser # which activates the default viewer associated with the image # works with Windows and Linux import. /* The flip box container - set the width and height to whatever you want. BICUBIC, PIL. from PIL import Image #read the image im = Image. PIL handles a fair amount of image file formats easily. This library supports many file formats, and provides powerful image processing and graphics capabilities. Resizing an image means changing the dimensions of it, be it width alone, height alone or both. The image is shown rotated and then saved to the working folder. flip() Flip. This module is somewhat experimental, and most operators only work on L and RGB images. TRANSPOSE You can also use one of Pillow’s ROTATE constants here too, but we’re focusing just on the mirroring aspect of the transpose() method. Python has modules that go along with it that allow for image manipulation. Thanks for the A2A. Parameters. I usually want to do this for photos that I want to email or post on a website since some of my images can be quite large. If you want the image to change size when rotated, you need to include the expand argument, e. Flexible Data Ingestion. Following is the folder structure after the execution. Conclusion. Using the Image Class # The most important class in the Python Imaging Library is the Image class, defined in the module with the same name. developerWorks blogs allow community members to share thoughts and expertise on topics that matter to them, and engage in conversations with each other. By default, IrfanView respects the Exif info and will auto-rotate the image based on its orientation flag. GitHub - python-pillow/Pillow: The friendly PIL fork (Python Imaging Library) Python の「 PIL 」というライブラリについてご紹介します。 from PIL import Image 「 PIL 」は画像データを扱うため機能をひとまとめにしたライブラリです。. The module also provides a number of factory functions, including functions to load images from files, and to create new images. fromarray taken from open source projects. init() def. Now you know how to use the Pillow package to rotate and. name, overwrite=True) return HttpResponse(str(image. 首发于《有三AI》【AI基础】OpenCV,PIL,Skimage你pick谁如何对图像进行处理是深度学习图像处理的基础,我们常常需要对图像进行读取、保存、缩放、裁剪、旋转、颜色转换等基本操作。. png") #rotate image angle = 45 out = im. We’ll be working. Pythonの画像処理ライブラリPillow(PIL)のImageモジュールに、画像を回転するメソッドrotate()が用意されている。Image Module — Pillow (PIL Fork) 4. scikit-image is a Python package dedicated to image processing, and using natively NumPy arrays as image objects. Getting Image Orientation and Bounding Box Coordinates Applications that use Amazon Rekognition Image commonly need to display the images that are detected by Amazon Rekognition Image operations and the boxes around detected faces. PILとは 引用元:Python Imaging Library (PIL) 上の画像は、PIL(Python Imaging Library)のホームページです。 Image. open ( filename ) if "exif" in img. This method takes the same arguments as pygame. What is even more annoying is that you cannot easily reuse the display window. bmp, and using a. Texture of the image. # Raises ImportError: if PIL is not available. open('blahblah. resize(size, resample=0) - Resize an image to the width and height specified in a tuple like (500, 500). I need to write a function that get an image and return a mirror image (the Y coordinate never change), without using any mirror or flip module from PIL. The Python Imaging Library, or PIL for short, is one of the core libraries for image manipulation in Python. To rotate and flip an image in PIL -- png_image_rotate. Image Module blend(im1, im2, alpha) Creates a new image by interpolating between two input images, using a constant alpha. Slideshow Slideshow Gallery Modal Images Lightbox Responsive Image Grid Image Grid Tab Gallery Image Overlay Fade Image Overlay Slide Image Overlay Zoom Image Overlay Title Image Overlay Icon Image Effects Black and White Image Image Text Image Text Blocks Transparent Image Text Full Page Image Form on Image Hero Image Blur Background Image. FLIP_TOP_BOTTOM, PIL. More than 1 year has passed since last update. name, overwrite=True) return HttpResponse(str(image. Thats really about it, but its really all you want to do if you are teaching an introductory computer science. You can notice the newImage. It's easy to create images with PIL module. Horizontall flipped image. Transparency with PIL. FLIP_TOP_BOTTOM; PIL. By contrast, if you are making global changes in color to your entire image, you can grab all of the pixels (in a list). What is even more annoying is that you cannot easily reuse the display window. That's it: now we can play with our image. I needed a transparent PNG image of some text to overlay text on an image. To rotate an image, a solution is to use the pillow function rotate(), example. You can rotate an image by 90 degrees in counter clockwise direction by providing the angle=90. How do I mirror flip an image? I'm trying to mirror flip a pic I took, because the text is backwards, but none of the apps on my phone seem to do this? Not. ImageDataGenerator methods apply_transform apply_transform(x, transform_parameters) Applies a transformation to an image according to given parameters. Example) rotate the image by its exif orientation tag value and remove the orientation tag from the image’s exif data: from PIL import Image import piexif def rotate_jpeg ( filename ): img = Image. LR Scaling), 2) doesn't need a white background, and 3) doesn't want to use the tools available in PS, then by all means go ahead and use only LR. open('statue_of_unity. flip or sharpen the image Have fun coding and please leave me a comment if you'll find this info useful. It allows you to read in an image and manipulate its pixels. rotate(-90, expand=1) From the documentation-expand – Optional expansion flag. If we do the following on the attached image: ``` #!python from PIL import Image image = Image. The output of image convolution is calculated as follows: Flip the kernel both horizontally and vertically. By voting up you can indicate which examples are most useful and appropriate. Image processing. This time we are loading an image and rotate it counterclockwise by a specified number of degrees. fromstring() create new Surface from a string buffer, since no pixel data must be allocated and copied. Reading an image from a file is fairly straightforward in OpenCV-Python. (4 replies) I seem to have succeeded in building PIL from source with jpeg and zlib 1. It was developed and made available more than 25 years ago and has become a de facto standard API for working with images in Python. The current version of PIL is PIL 1. name, overwrite=True) return HttpResponse(str(image. ImageOps Module (New in 1. Flexible Data Ingestion. info [ "exif" ]) if piexif. 1)PIL python image library Pillow, it is for load\process\create images. This is the home of Pillow, the friendly PIL fork. autocontrast(image, cutoff=0, ignore=None) [source] ¶ Maximize (normalize) image contrast. The Image Module. Then I will segue those into a more practical usage of the Python. Python has modules that go along with it that allow for image manipulation. transpose(Image. interpreter. It has to convert pdf to my direct desirables - jpeg. add_mipmap (level, width, height, data. Step 3: Rotate the Image. def ten_crop (img, size, vertical_flip = False): r """Crop the given PIL Image into four corners and the central crop plus the flipped version of these (horizontal flipping is used by default). This module is somewhat experimental, and most operators only work on L and RGB images. Image filters are not only something we use to make our pictures on social networking sites look cool, they are useful and powerful techniques for processing videos and images not only for printing in an offset; but also to compress and improve playback and speed of on-demand services. use python stdin/out to run external command line tool. rotate (input, angle, axes=(1, 0), reshape=True, output=None, order=3, mode='constant', cval=0. Get a vertically flipped image using pillow. Some popular ones are OpenCV, scikit-image, Python Imaging Library and Pillow. PIL:Python Imaging Library,已经是Python平台事实上的图像处理标准库了。 PIL功能非常强大,但API却非常简单易用。 由于PIL仅支持到Python 2. save(filename) # a simple way to show the image file is to use module webbrowser # which activates the default viewer associated with the image # works with Windows and Linux import. FLIP_TOP_BOTTOM; PIL. Flexible Data Ingestion. (The other is "Rotate Image"). fromarray taken from open source projects. It was developed by Fredrik Lundh and several other contributors. There are two common representations for RGB images with an alpha channel:. Published: 16 Oct 2016 This is a simple data augmentation tool for image files, intended for use with machine learning data sets. Instead of rotate you can use any other PIL editing method, as for e. autocontrast(image, cutoff=0, ignore=None) [source] ¶ Maximize (normalize) image contrast. from PIL import Image image = Image. Get YouTube without the ads. Conclusion. Image has a crop function to assist us in here. You can pass parameters like resulting image size, pixel resampling filter and the box region of source to be considered. save(filename) # a simple way to show the image file is to use module webbrowser # which activates the default viewer associated with the image # works with Windows and Linux import. If the input image is of class logical, then im2uint8 changes true-valued elements to 255. def truetype (font = None, size = 10, index = 0, encoding = "", filename = None): """ Load a TrueType or OpenType font file, and create a font object. How do I mirror flip an image? I'm trying to mirror flip a pic I took, because the text is backwards, but none of the apps on my phone seem to do this? Not. This was my first time trying to make a complete programming tutorial, please leave any suggestions or questions you might have in the comments. FLIP_LEFT_RIGHT(). In affine transformation, all parallel lines in the original image will still be parallel in the output image. When translating a color image to grayscale (mode ‘L’, ‘I’ or ‘F’), the library uses the ITU-R 601-2 luma transform:. To resize an image with Python Pillow, you can use resize() method of PIL. 7 and is available for Python 2. If the image contains Exif info, you can then click the EXIF info button at the bottom left of the popup window to check the image Exif info. FLIP_LEFT_RIGHT) or do both in one step with mirror = myimage. rotate() Flip image with OpenCV: cv2. The module also provides a number of factory functions, including functions to load images from files, and to create new images. transpose(Image. An image containing text for example, should never be flipped. The result is this post. Image Module¶. This material is provided for educational purposes only and is not intended for medical advice, diagnosis or treatment. Then you can save the new image to a file, or you can display the image in a window. transpose(pil. Must have the same mode and size as the first image. My code: from tkinter import * from PIL import Image, ImageTk The error: No module named 'ImageTk' Based on a post I saw when researching this I tried sudo apt-get install python-imaging-tk. What is PIL ? The Python Imaging Library (PIL) adds image processing capabilities to your Python interpreter. The leftmost image is the original, followed by a grayscale version, a rotated crop pasted in, and a thumbnail image. alpha The interpolation alpha factor. Horizontally flip the given PIL Image. You can see that the edges of the letters are grimy. Best Answer: Another application of the Python Image Library (PIL). In python, there are a number of powerful libraries that make image processing easy, such as OpenCV, SciKit-Image and Pillow. If you take a copy of one image, rotate it, mirror it or randomly permute all individual pixels, the histogram does not change and both images will eventually be classified as identical. As the above variable im, is a pillow object. In this article we'll show you how to add an image to a window. horizontal_flip is for randomly flipping half of the images horizontally --relevant when there are no assumptions of horizontal assymetry (e. png added in the folder. When translating a color image to grayscale (mode ‘L’, ‘I’ or ‘F’), the library uses the ITU-R 601-2 luma transform:. The post explains how to read an image file with Pillow(PIL) and convert it to ndarray without using OpenCV, and how to savendarray. horizontal_flip is for randomly flipping half of the images horizontally --relevant when there are no assumptions of horizontal assymetry (e. Image Module¶. By contrast, if you are making global changes in color to your entire image, you can grab all of the pixels (in a list). Personally I'd use Tk + PIL. See also the complete list of contributors as well. rotate() Flip image with OpenCV: cv2. I usually want to do this for photos that I want to email or post on a website since some of my images can be quite large. Shop with confidence. Like this:. NEAREST, PIL. What is Pillow? Pillow is a fork of PIL (Python. The module also provides a number of factory functions, including functions to load images from files, and to create new images. rotate¶ scipy. png added in the folder. flip() For the basics of image processing with NumPy, see the following post. The array is rotated in the plane defined by the two axes given by the axes parameter using spline interpolation of the requested order. FLIP_TOP_BOTTOM; PIL. Download Open Datasets on 1000s of Projects + Share Projects on One Platform. This module is somewhat experimental, and most operators only work on L and RGB images. If the image has more than one band, the histograms for all bands are concatenated (for example, the histogram for an "RGB" image contains 768 values). If we simply rotate it it will be cropped so we can calculate a bounding box we will need for this. PIL handles a fair amount of image file formats easily. The Image module provides a class with the same name which is used to represent a PIL image. lightstalking. At the time of writing, it is only available for Python 2. The Python Imaging Library, or PIL for short, is an open source library for loading and manipulating images. Image Module¶. I have to write it myself. I'm working on a program that uses PIL to flip images vertically/horizontally, and to change the lightness and darkness for an image. →To load, display, save an image looks like below: [code]from PIL image Image size = (64, 64) my_img = Image. flip or sharpen the image Have fun coding and please leave me a comment if you'll find this info useful. /* The flip box container - set the width and height to whatever you want. ImageUtilities import scan_directory. What is PIL ? The Python Imaging Library (PIL) adds image processing capabilities to your Python interpreter. smoothscale — scale a surface to an arbitrary size. which says I already have the latest version. The array is rotated in the plane defined by the two axes given by the axes parameter using spline interpolation of the requested order. That’s a short warning to all Tensorflow users working with visual content. 0, prefilter=True) [source] ¶ Rotate an array. # Raises ImportError: if PIL is not available. Image Module¶. This time we are loading an image and rotate it counterclockwise by a specified number of degrees. save(filename) # a simple way to show the image file is to use module webbrowser # which activates the default viewer associated with the image # works with Windows and Linux import. Pillow tutorial shows how to use Pillow in Python to work with images. Below program loads an image, rotates it 45 degrees and display it using an external viewer. Parameters input array_like. The output of image convolution is calculated as follows: Flip the kernel both horizontally and vertically. Try swapping in one of these other constants into the code above to see what happens. McConville. The Python Imaging Library, or PIL for short, is an open source library for loading and manipulating images. Image: Open() and show() First, open the file/image and show. # Raises ImportError: if PIL is not available. Enter the following into the interactive shell:. The module also provides a number of factory functions, including functions to load images from files, and to create new images. PIL official homepage is HERE. Image Module¶. FLIP_LEFT_RIGHT) or do both in one step with mirror = myimage. The list-style-image property replaces the list-item marker with an image. Here are the examples of the python api PIL. The Image module provides a class with the same name which is used to represent a PIL image. Do I need a new function for def flipVertical to save an image or should I edit the copyImage function and tweak with the measurements and do the same thing for the. Now I just can remove the black color after rotate my gray "test" image, but their is now a white color section. The image is shown rotated and then saved to the working folder. An image tagged dachshund in pillow,baby shark. Download Anaconda. 4 on windows NT. Every photographer knows that after all the photos have been framed, metered, captured and transferred from memory card to computer, there’s still …. Autorotate and autoresize images in mass with Python and PIL - img_utils. Loading images in Jupyter Notebooks is not possible to the best of my knowledge. You can create instances of this class in several ways; either by loading images from files, processing other images, or creating images from scratch. After the image is flattened, it has the same appearance it had before. They are extracted from open source Python projects. "Save" will save the image in the same folder with the name provided here. JPG") image. See the transform method for details. Image reading and writing via imread. But it made me cry, before I have met sorl-thumbnails. open("TajMahal. ROTATE_90, PIL. 1)PIL python image library Pillow, it is for load\process\create images. com - Angie. Anaconda Community. BICUBIC, PIL. (Fringilla montana linn. transpose(Image. This function calculates a histogram of the input image, removes cutoff percent of the lightest and darkest pixels from the histogram, and remaps the image so that the darkest pixel becomes black (0), and the lightest becomes white (255). autocontrast(image, cutoff=0, ignore=None) [source] ¶ Maximize (normalize) image contrast. For instance, to make the width of an image 150 pixels, and change the height using the same proportion, use resize(150, 0). resize functions!. Gallery About Documentation Support About Anaconda, Inc. PIL Introduction, Batch Image Converting PIL or the Python Imaging Library , is a library designed to add imaging processing capabilities to python. The Python Imaging Library, or PIL for short, is one of the core libraries for image manipulation in Python. Note: Always specify the list-style-type property in addition. What is PIL ? The Python Imaging Library (PIL) adds image processing capabilities to your Python interpreter. They are extracted from open source Python projects. Download Anaconda. Now I just can remove the black color after rotate my gray "test" image, but their is now a white color section. By contrast, if you are making global changes in color to your entire image, you can grab all of the pixels (in a list). The image is shown rotated and then saved to the working folder. out = pil_im. This material is provided for educational purposes only and is not intended for medical advice, diagnosis or treatment. You can use the same filename to overwrite the full-size image with the resized image, if that is what you want. Image: Open() and show() First, open the file/image and show. ROTATE_90) Processing is not limited to "PNG" files, though that file type is preferred because it is not a lossy storage option. One really annoying thing about PIL is that it's importable as Image and PIL. out = pil_im. Table Of Contents. fill_mode is the strategy used for filling in newly created pixels, which can appear after a rotation or a width/height shift. FLIP_TOP_BOTTOM; PIL. jpg') # rotate 270 degrees counter-clockwise imRotate = image. Image filters are not only something we use to make our pictures on social networking sites look cool, they are useful and powerful techniques for processing videos and images not only for printing in an offset; but also to compress and improve playback and speed of on-demand services. Flip Image OpenCV Python October 7, 2016 Admin 2 Comments OpenCV provides the flip() function which allows for flipping an image or video frame horizontally, vertically, or both. The PIL(Python Imaging Library) is the python library which primarily uses for for the image manipulation like create, resize, merge etc. The pixel data can then be retrieved by indexing the pixel map as an array. Fast image display using the GTK. Rotate an image and keep the same size as the original image. Pillow is a fork of the Python Imaging Library (PIL). Subject: Setting the corner color in rotated PIL images I'm using PIL to generate some images which may be rotated at the user's option. open("photo-1. The fact-checkers, whose work is more and more important for those who prefer facts over lies, police the line between fact and falsehood on a day-to-day basis, and do a great job. Today, my small contribution is to pass along a very good overview that reflects on one of Trump’s favorite overarching falsehoods. Namely: Trump describes an America in which everything was going down the tubes under  Obama, which is why we needed Trump to make America great again. And he claims that this project has come to fruition, with America setting records for prosperity under his leadership and guidance. “Obama bad; Trump good” is pretty much his analysis in all areas and measurement of U.S. activity, especially economically. Even if this were true, it would reflect poorly on Trump’s character, but it has the added problem of being false, a big lie made up of many small ones. Personally, I don’t assume that all economic measurements directly reflect the leadership of whoever occupies the Oval Office, nor am I smart enough to figure out what causes what in the economy. But the idea that presidents get the credit or the blame for the economy during their tenure is a political fact of life. Trump, in his adorable, immodest mendacity, not only claims credit for everything good that happens in the economy, but tells people, literally and specifically, that they have to vote for him even if they hate him, because without his guidance, their 401(k) accounts “will go down the tubes.” That would be offensive even if it were true, but it is utterly false. The stock market has been on a 10-year run of steady gains that began in 2009, the year Barack Obama was inaugurated. But why would anyone care about that? It’s only an unarguable, stubborn fact. Still, speaking of facts, there are so many measurements and indicators of how the economy is doing, that those not committed to an honest investigation can find evidence for whatever they want to believe. Trump and his most committed followers want to believe that everything was terrible under Barack Obama and great under Trump. That’s baloney. Anyone who believes that believes something false. And a series of charts and graphs published Monday in the Washington Post and explained by Economics Correspondent Heather Long provides the data that tells the tale. The details are complicated. Click through to the link above and you’ll learn much. But the overview is pretty simply this: The U.S. economy had a major meltdown in the last year of the George W. Bush presidency. Again, I’m not smart enough to know how much of this was Bush’s “fault.” But he had been in office for six years when the trouble started. So, if it’s ever reasonable to hold a president accountable for the performance of the economy, the timeline is bad for Bush. GDP growth went negative. Job growth fell sharply and then went negative. Median household income shrank. The Dow Jones Industrial Average dropped by more than 5,000 points! U.S. manufacturing output plunged, as did average home values, as did average hourly wages, as did measures of consumer confidence and most other indicators of economic health. (Backup for that is contained in the Post piece I linked to above.) Barack Obama inherited that mess of falling numbers, which continued during his first year in office, 2009, as he put in place policies designed to turn it around. By 2010, Obama’s second year, pretty much all of the negative numbers had turned positive. By the time Obama was up for reelection in 2012, all of them were headed in the right direction, which is certainly among the reasons voters gave him a second term by a solid (not landslide) margin. Basically, all of those good numbers continued throughout the second Obama term. The U.S. GDP, probably the single best measure of how the economy is doing, grew by 2.9 percent in 2015, which was Obama’s seventh year in office and was the best GDP growth number since before the crash of the late Bush years. GDP growth slowed to 1.6 percent in 2016, which may have been among the indicators that supported Trump’s campaign-year argument that everything was going to hell and only he could fix it. During the first year of Trump, GDP growth grew to 2.4 percent, which is decent but not great and anyway, a reasonable person would acknowledge that — to the degree that economic performance is to the credit or blame of the president — the performance in the first year of a new president is a mixture of the old and new policies. In Trump’s second year, 2018, the GDP grew 2.9 percent, equaling Obama’s best year, and so far in 2019, the growth rate has fallen to 2.1 percent, a mediocre number and a decline for which Trump presumably accepts no responsibility and blames either Nancy Pelosi, Ilhan Omar or, if he can swing it, Barack Obama. I suppose it’s natural for a president to want to take credit for everything good that happens on his (or someday her) watch, but not the blame for anything bad. Trump is more blatant about this than most. If we judge by his bad but remarkably steady approval ratings (today, according to the average maintained by 538.com, it’s 41.9 approval/ 53.7 disapproval) the pretty-good economy is not winning him new supporters, nor is his constant exaggeration of his accomplishments costing him many old ones). I already offered it above, but the full Washington Post workup of these numbers, and commentary/explanation by economics correspondent Heather Long, are here. On a related matter, if you care about what used to be called fiscal conservatism, which is the belief that federal debt and deficit matter, here’s a New York Times analysis, based on Congressional Budget Office data, suggesting that the annual budget deficit (that’s the amount the government borrows every year reflecting that amount by which federal spending exceeds revenues) which fell steadily during the Obama years, from a peak of $1.4 trillion at the beginning of the Obama administration, to $585 billion in 2016 (Obama’s last year in office), will be back up to $960 billion this fiscal year, and back over $1 trillion in 2020. (Here’s the New York Times piece detailing those numbers.) Trump is currently floating various tax cuts for the rich and the poor that will presumably worsen those projections, if passed. As the Times piece reported: