I am studying the Introduction to Linux as edX. The study page has a menu with 14px font size, and the actual content has 12px font size. I would like to reduce the font size of menu so that it takes less space. Simply making the div thinner is not a solution , it needs a smaller font size.
What CSS rule could I add to the menu's top-most div to affect all child divs' font sizes? I tried style="font-size:0.5em", style="font-size:50%", and style="font-size:8px" however none of these were able to overcome the CSS defined for the inner divs.
Setting a font size of 0.5em on the parent element only works if the children also use em units. On the page in question, it seems that other units are used (px, probably). In this case, you can use the font-size-adjust property on the parent element to reduce the font size of all children. font-size-adjust is normally used to define the font size in terms of "x-height", so you should try values around 0.5.
In my iOS app, I need the user to be able to send email with a GIF image attachment. I implemented this by using MFMailComposeViewController. If the file size of the GIF image is small, everything works OK. However, if the image size is large, iOS asks to reduce the image size. If the user accepts to reduce image size, the animation of GIF is gone. Actually, this is the same problem as asked here: Preventing MFMailComposeViewController from scaling animated GIFs
My understanding is that there is no way to avoid iOS to ask to reduce size. Therefore, the solution I am thinking is as follows: I will pre-compress and generate a new gif with reduced file size before attaching so that it will always be small enough.
So my question is: Is there an image file size that is guarantee to not result in iOS's asking to reduce image size? For example, is there something like "the mail will never ask to reduce image size if the attached image file is less than X KB" and what is X?
You can't reduce LUN size without reducing size of filesystem on this LUN. 10% used space from host point of view does not mean only 10% is consumed on storage. Check actual space consumption with "lun show -v" - you cannot go below this value even if you disable space reservation for this LUN (without using deduplication and/or compression).
Select the Acrobat version that is compatible with the features in your PDF file. To potentially reduce the file size greatly, choose later versions of Acrobat. We generally recommend two versions below the most current. If you happen to have embedded video in your PDF file, use the most recent version of Acrobat.
These methods are quick and simple, but be warned that it will reduce the quality of images and will remove digital signatures. If you want more control over how your PDF is compressed in Acrobat, use the optimization method described below instead.
Download our free 2022 report detailing the reasons clerks gave for rejected eFilings. We carefully reviewed hundreds of individual rejections to discover the top rejection reasons, plus compiled years of insights to help you check filings and reduce your rejection rates.
Hi there:
I have a question about the file size for something that is going to be printed on merchandise that I am selling via print on demand. I am using Affinity Designer v2 on desktop, and I also have Affinity Photo.
I am creating car seat covers with the following dimensions and specifications: 2993 x 7703 pixels, CMYK and 150 dpi. The maximum size of the image file to be used by my supplier for printing is to be no more than 20 M (either in a JPG or PNG format with the sRGB color profile).
I noticed that when I use a background that has a texture to it or that is more complicated, the file size for the image (JPG) gets larger than the 20 M that is allowable. Usually I fall into the allowable size with my designs, but now I have a car seat cover that I am working on that is exceeding 50 M.
My question is: how do I reduce the file size of my image file without losing the printed quality of the design?
Looking forward to your response.
Thanks so much.
Upsate: I had to go down to 80 percent to get the files size to be uploadable. My print partner said that the result was blurry in some parts. I guess the background is too busy, being a bit large and all. That said, I think I will have to make a new one that is less complex.
Thanks anyway. Trial and error I guess
@Pšenda Good to know. However, the file size increased with the multiple elements in the design. Usually when my background is complex, I get a larger file size when exporting to jpg or png, which means that I am unable to upload the design to my print on demand dashboard. As I lowered the quality in the settings during export, it seemed to have created blurriness in my overall design, according to my print partner. I guess that was my issue.. Most of my elements were vector. So I think that there was further pixelation that incurred blurriness.
Please indicate their resolution (ie how many pixels they have), the DPI size is not important. As OP write, the target resolution of his image is 2993 x 7703 pixels, and they will remain whatever the DPI is. For a JPEG file, the DPI value is just an entry in the metadata.
Yes, but that's not the OP's case - please read his first post, where it says that the resolution of the image is given and fixed (2993 x 7703 pixels), so there's no point in discussing the obvious fact that if I increase the resolution, I will of course increase the file size.
So it's pretty much a matter of semantics. Regardless of what's actually happening, you can lower the DPI and file size at a cost to the resolution that may or may not matter (probably not) if you're printing a car seat cover.
This is side-effect of the fact, that iPython does not configures concrete height for HTML element, where geometry drawing is performed. Normally JSROOT tries to use complete provided space. But if element has zero height - JSROOT set heights to 66% of available width. But iPython does not automatically adjust its HTML to that size - one gets scrolling bars.
@etejedor Probably a solution can be that we provide in draw options size of the drawing. Something like gGeoManager->GetTopVolume()->Draw("400x200"). Question - could we forward somehow this draw options to JSROOT.draw() call?
I add commit to JSROOT
github.com/root-project/jsroot Add support of TGeo in TCanvas Can be used to enforce resize of parent HTML element before painting by linev on 07:01PM - 08 Oct 19 UTC changed 2 files with 14 additions and 0 deletions.
which allows to embed TGeo object into TCanvas.
And TCanvas can resize top HTML element to preconfigured size.
Next week I plan to make next JSROOT release and it become available for iPython notebooks.
I am building my site out, and have a question re the List sections. On the FAQ page, I would like to make the blue cards (below the FAQs) smaller (narrower). I managed to do this via CSS, but then they were skewed to the left.
I've got a 4" pvc vent that I'm relocating. It vents a single bathroom group below it and nothing else. 1 toilet, 1 lav, 1 tub. I'd like to relocate it so that it's thru the roof of the new dormer we just had built. This way I can link it to a second, 2" vent that vents the kitchen sink group.
The only way to accomplish this is to decrease the 4" vent to 2" so that I can run it up inside a partition wall in the hallway, then increase to 3" or even 4" to go thru the roof.
Is there any problem with reducing the vent to 2", then increasing thru the roof?
I'd probably bring both vents at 2" up opposing walls, then increase them both horizontally in the ceiling, then connect and turn upwards with a 3" test tee.
Thanks for the advice. I'd rather not put two holes thru the roof and I'd rather the vent pipe be higher up and more out of sight.
My other option is to put it on the side of the house, 10' from the windows. It'll work, but I think it's less attractive.
That is a code question that only YOUR inspector could answer. There are four possibilities.
1. The line can be reduce in size and be kept small if there are enough additional vents to give the required aggregate area out through the roof.
2. The pipe size cannot be reduced but has to be full size from the house sewer all the way to the roof.
3. The pipe size can be reduced and then increased at the point where the two vents connect together.
4. If you live in a cold climate, the vent through the roof may have to be increased regardless of what size the riser pipe is.
Your inspector is the person who will know, and approve, which of these applies in your area.
He may not be correct, but since I haven't been in IL since 1968 and then it was under the Chicago Code, I cannot comment. But without input from your inspector the only safe route is to keep it full size.
Reduce the vent stack at the last fixture connecting to the stack and then run your 2" vent. The section of code that you were Quoted has to do with 2 stack systems 1 drainage stack and one vent. If your line is 4" then your vent has to be a min. of 2".
Your vent connection must be reduced at the last fixture connection. Most likely at the Tee catching the lavatory.
section 904.2 of IPC says that every vent extention must be a mimimum of 3" . Any increase in size must be made inside the structure at least 1 foot below the roof or inside a wall.
Edited 1 times.